But isn't the problem that the content inside the float div is also a
float div therefore overlapping/breaking out of its container the
container ... ?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Andrew Krespanis
Sent: Tuesday, 21 December 2004 4:49 PM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] expand divs height with content

> Try and float just #contentLeft or #contentRight, but not both.

There's nothing wrong with floating all your columns. In fact, I
always float both columns as I find it more reliable than using
margins/padding to clear adjacent cols.

This article will solve your problem. Apply the hack to your main
container
http://www.positioniseverything.net/easyclearing.html

Andrew.
--------------------------------
http://leftjustified.net/
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************


----------------------------------------------------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. Please 
note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of the company. The recipient 
should check this email and any attachments for the presence of viruses. The 
company accepts no liability for any damage caused by any virus transmitted by 
this email.
----------------------------------------------------
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to