#left {
position: absolute;
left: 2%;
width: 19%;
top: 106px;
background-color: #ffffff;
}
These pages use certain CSS definitions that are unsupported by older browsers.
more nice and free css templates
![]()
![]()
#middleleft {
position: absolute;
left: 22%;
width: 28%;
top: 106px;
background-color: #ffffff;
}
for color, which in this circumstance is likely to
be blue (although we can't show that in print). This is due to
the fact that the image is contained with a hyperlink, and the
foreground color of hyperlinks is usually blue. If
we so desired, we could change that color to be
silver, like this:
A:link IMG {border-style: outset; color: silver;}
As Figure 7-32 shows, the border is now based on the
light gray silver, since that's now the
This example requires some calculations. The sum of the widths yields 98%. The distance from the border of body to the first box plus its width plu the distance yields the left position of the next box.
If you want boxes of different width you need to adjust these values accordingly.
Use of this code is encouraged!
Try it with 2 or 3 columns
#middleright {
position: absolute;
left: 51%;
width: 28%;
top: 106px;
background-color: #ffffff;
}
Borders, pading and margin are defined in
#right,#middleright,#middleleft,#left{
border: 1px solid #564b47;
padding:0px;
margin:0px;
}
Padding are passed to p, h1 and h3.
p,h1, h3, pre {
padding: 5px 15px;
margin: 0px;
}
#right {
position: absolute;
left: 80%;
width: 18%;
top: 106px;
background-color: #ffffff;
}
Use of this code is encouraged! (o_.)/
Of course, by doing this, you're setting a border on theelement, and that border will show up in other user agents as well.And, just to top things off, Navigator doesn't handle paddingvery well, so the previous example would result in a small amount ofblank space between the content box and the borders. Altogether, itisn't a very pretty picture.