Saturday 04th of July 2009 02:31:32 AM
MENU
#left {
position: absolute;
left: 0px;
width: 190px;
color: #564b47;
margin: 0px;
padding: 0px;
}
This column inherited it'b background color from the body definition.
The padding ist defined through the p element.
MENU
#right {
position: absolute;
right: 0px;
width: 190px;
color: #564b47;
margin: 0px;
padding: 0px;
}

generally ignored the idea that pages should contain information that
has some structural meaning.
However, that structure is an inherent part of the relationship
between HTML and CSS; without the structure, there couldn't be
a relationship at all. In order to understand it better, let's
look at an example HTML document and break it down by pieces.
Here's the markup, shown in Figure 1-1:
Figure 1-1. A simple document
CONTENT
3 columns / menu fixed, content dynamic with head and footer.
3 column layout grid. The navigation column are fixed in width, the content column is dynamic and adjusts
itself to the browser window.
This layout also works with an absolute height template 100% height
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;
margin:0px;
}
#content {
margin: 0px 190px 0px 190px;
border-left: 2px solid #564b47;
border-right: 2px solid #564b47;
padding: 0px;
background-color: #ffffff;
}
The animated GIF logo was created by sequencing still GIF's
with Microsoft's GIF Animator (a freebie you can pull off the web).
The image is square, but the white image background blends seamlessly with
the page background. It is also possible to specify one or more colors
tags, respectively:
INPUT[type="radio"] {color: #333333;}
INPUT[type="checkbox"] {color: #666666;}
<INPUT TYPE="radio" NAME="r2" VALUE="A ">
<INPUT TYPE="checkbox" NAME="c3" VALUE="one ">
This allows you to dispense with the classes altogether, at least in
this instance. See the Chapter 10, "CSS2: A Look Ahead", for more details
on how this kind of selector works.
|