I essentially have the standard two column layout, but I'm running
into a quirk I'm hoping someone can help with. I have one column
which is the main content (75%) of the screen and the remaining 25% is
reserved for "side" content.
The problem with my CSS is that if the main content's height is less
than the side content's height, the side content will wrap underneath
the main content instead of staying within the 25% bounds.
-me
------ code
#main
{
float: left;
width: 75%;
}
#side
{
}
and then the following HTML code
<html>
<div id="main">
let's say the text in this section takes up three lines on the screen.
</div>
<div id="side">
let's say this section has ten lines of text, the first three lines
will be just fine in this div, the other seven lines will wrap and
begin where text in the #main div would start. (instead of wrapping
to the start of the #side div)
</div>
</html>
------ end code |