Subheading
This comes from:
http://css.maxdesign.com.au/
floatutorial/tutorial0901.htm
This next step is the most important of the entire process. The "leftnav" div
has been floated, so text from the "content" div will flow down the leftnav's right edge
and then wrap around under it. To make the text appear as it is in a new column, we apply margin-left
to the "content" div,
making sure that the width is greater than the overall width of the "leftnav" div. In this
case, we will use "margin-left: 200px", which will give us 40px margin between the leftnav
and the main content. The same is done to the right side.
We will also apply a border to the left and right of the "content" div. This could be a problem if the "leftnav" div is longer than the main content. If this is the case, the border can be applied to the right side of the "leftnav" div instead of the "content" div.
To add padding to the content div use "padding: 1em;".
#content {
margin-left: 200px;
border-left: 1px solid gray;
margin-right: 200px;
border-right: 1px solid gray;
padding: 1em;
font: 12px Verdana, Arial, Helvetica, sans-serif;
color: #000000;
}
http://css.maxdesign.com.au/floatutorial/index.htm