Tuesday 09th of February 2010 03:18:25 AM
MENU
#content #navi {
border-left:1px dotted #000;
border-bottom:1px dotted #000;
float:right;
width:250px;
background-color:#ff99cc;
margin:0px 0px 20px 20px;
}


CONTENT
All templates are XHTML 1.0 and CSS2/ tableless.
MENU floating
layout grid with a floating menu on the left.
The menu is fixed in it's width. The height adjusts to the content.
more nice and free css templates
html {
padding:0px;
margin:0px;
}
body {
background-color: #e1ddd9;
font-size: 12px;
font-family: Verdana, Arial, SunSans-Regular, Sans-Serif;
color:#564b47;
padding:0px 20px;
margin:0px;
}
#content {
border:1px solid #564b47;
background-color:#fff;
}
Note that since horizontal margins do not collapse, the padding,borders, and margin of a parent element can affect its children. Thisis an indirect effect, of course, in that the margins (and so on) ofan element can induce an offset for child elements. Vertical marginsare still collapsed, as shown in Figure 8-18: