Friday, March 10, 2006

CSS two column layout

Here is a CSS two column layout for you to enjoy


<div style="background:#ffffcc;">
Top heading

<div>
<div style="float:left;width:66%;background:#ffff00;">
<div class="content">left</div>
</div>
<div style="width:34%;float:left;background:#ffff00;">
<div class="content">right</div>
</div>
</div>

<div style="clear:both;">
Footer
</div>


</div>

0 Comments:

Post a Comment

<< Home