This depends on many other factors, such as colorization of the columns.

But to get a basic layout, before color is considered you can do this:

<div id="header"></div>
<div id="left" style="float:left; width:150px;"></div>
<div id="right" style="float:right; width:150px;"></div>
<div id="content"></div>
<div id="footer" style="clear:both"></div>

This will give you the basic layout you request, where the footer will always 
be below the longest div.  But if you want to also color the side columns this 
will not work as well.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

....-----Original Message-----
....From: Andy Jarrett [mailto:[EMAIL PROTECTED]
....Sent: Wednesday, April 27, 2005 9:21 AM
....To: CF-Talk
....Subject: OT: Is this possible with CSS
....
....Hi,
....
....I am having a nightmare trying to replicate a 3 column site with CSS -
....it nearly make me want to use <table>'s (did i say that out loud)
....
....To see what i am trying to create go to
....http://andyjarrett.co.uk/css.gif
....
....For those of you who you can i am trying to create a 3 column site
....with a header and footer.
....
....            h e a d e r
....-----------------------------------------
....left col  | content  |  right col
....-----------------------------------------
....             f o o t e r
....
....The 3 middle columns should always be 100% of the gap between the
....header and footer. With the left and right columns being fixed. In
....tables it would be
....
....<table border="0" width="100%" height="100%">
....  <tr>
....    <th colspan="3">&nbsp;</th>
....  </tr>
....  <tr>
....    <td width="100">&nbsp;</td>
....    <td>&nbsp;</td>
....    <td width="100">&nbsp;</td>
....  </tr>
....  <tr>
....    <td colspan="3">&nbsp;</td>
....  </tr>
....</table>
....
....
....I have seen some templates but they rely on the content column to be
....the longest. I have never found a solution as solid as the tables
....version.
....
....Its gotta be do-able - actually its probably well easy but I'm just
....not seeing it.
....
....Cheers for any help
....
....Andy J
....www.andyjarrett.co.uk
....
....

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204737
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to