Hello,
A div by default is a block level element and will not go side by side with another block level element even if you give it a small width.
You will need to use the float property, try this css:
<div id="LeftPanel"></div>
<div id="RightPanel"></div>
css:
#LeftPanel {
float:left;
width:49px%
}
#RightPanel {
float:left;
width:49%
}
---
You will also need to clear the floats like this
<div id="ContentHolder">
<div id="LeftPanel"></div>
<div id="RightPanel"></div>
<div class="clearFix" style="clear:both;font-siz
</div>
P.S: You cannot give a gloat a % height
Thanks
Main Topics
Browse All Topics





by: glumlunPosted on 2008-11-28 at 08:58:04ID: 23056558
hi,
try this
there was a mark up error with the above: RightPanel was not closed
Select allOpen in new window