How do i sit 2 divs left and right of eachother

Posted by s32ialx on Stack Overflow See other posts from Stack Overflow or by s32ialx
Published on 2010-04-01T17:54:54Z Indexed on 2010/04/01 18:03 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

So what i am trying to acomplish is sitting <div id="box"> left of and <div id="box2"> right of inside the container of <div id="content">

<div id="content">
    <div id="box1">
<h2>Company Information</h2>
            <img src="images/photo-about.jpg" alt="" width="177" height="117" class="aboutus-img" />
            <p color="FF6600">
            some content here
            </p>
    </div>
<div id="clear"></div>
    <div id="box" style="width:350px;">
            <h2>Availability</h2>
            <p>
            some more content here
            </p>
    </div>
<div id="clear"></div>
        <div id="box2" style="width:350px;float:left;overflow: auto;">
            <h2>Our Commitment</h2>
            <p> 
              some content here
            </p>
        </div>
</div>

© Stack Overflow or respective owner

Related posts about div

Related posts about css