Thursday 11th of March 2010 09:10:52 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;
}
enlarge or reduce to match the actual size of the display canvas. In
theory, as the user changes the width of a browser window, the
margins and padding will expand or shrink dynamically -- but not
every browser supports this sort of behavior. Still, using
percentages for It's also possible to mix percentages with length values. Thus,and right padding first off. Here, if we set values for the left orright padding, they will be visible, as Figure 7-60makes apparent.
Note the extra background space that appears on either end of theboldfaced text. There's your padding.
This all seems familiar enough, even when the boldfaced textsuch as "2.1" or "7.1.3." This can, however,
be done under CSS2 and is briefly discussed in Chapter 10, "CSS2: A Look Ahead".
7.7.3. List Item Positions
There is one other thing you can do to
influence the appearance of list items under CSS1, and that's
change the position of the bullet itself, in relation to the content
of the list item. This is accomplished withFigure 6-28:
BODY {background-image: url(yinyang.gif);background-repeat: repeat;}
Figure 6-28. Tiling the background image in CSS
I've left out a background color in order to keep the ruleshort, but remember to include a background color any time you have abackground image. And, of course, the effect shown in Figure 6-28 would have been the same if we'd leftout the background-repeat property altogether,since repeat is its default value.