CSS Page Layout Templates
Introduction/2 Column Templates
The following page templates are all constructed
using XHTML1.0 and CSS2.
Templates marked with
are ones I
recommend.
Please note: these templates are a learning tool and should be thoroughly tested before being used on a 'production' web site.
The templates are valid CSS2 and XHTML1.0 Transitional and have been tested on WinXP with IE6, Opera 7.11 and Mozilla 1.5b as well as Firefox 0.8 & Netscape 7.1 (which are basically the same as Mozilla).
Templates: Two column |
Three column |
General
Two Column Flexible
'
'
'
'
(5+)
line-height: 1px for the
"S", the actual inline box is so small that it has almost
no effect on the height of the line box. While the title shown in
Figure 11-16 may not precisely match the title in
Figure 11-14, they're very close to each other.
So, put together, here's the entire style sheet:
BODY {color: black; background: white;}
P {font-family: Times,serif; text-align: justify; text-indent: 6em;}
IMG{float: left; margin: 0.5em 0.5em 0.5em -10%;}
Two Column Flexible With Header
'
'
'
'
(5+)
Two Column, Left Column Static
'
'
'
'
(5+)
Two Column, Left Column Static, with Header Bar
'
'
'
'
(5+)
Two
Column Fixed Width with Header & Footer 
'
'
'
'
(5+)
Templates: Two column |
Three column |
General
Note: The poor colour schemes and thick borders of the templates are for demonstration purposes. :-)