Fixed, Three Columns

Making columns requires that you use the float property and the width of all the column divs must be a combined total of less than or equal to the container div. These examples assume a fixed pixel width and not a percentage width.

Be sure to examine the HTML and CSS code for comments.

1st Approach

This is the most standard approach. For this to work,

 

div#firstleftcol

 

div#firstmidcol

 

div#firstrightcol

 

2nd Approach

This is less standard and exploits the "float effect". For this to work,

 

div#secondleftcol

 

div#secondrightcol

 

div#secondmidcol