Wybrow, Mark wrote:
Thanks guys for the responses. I have tried clear:both and still nothing happens. So I have decided to scrap all the unwanted styles and get this section by itself. I have created a new page: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://www.hotshot.com.au/dev/fpaa/DEVELOPMENT/float.htm
I have the bare minimum to test and I have got the float to expand to the contents length. But now my problem is the "contentRight". No matter what I do I am unable to have both columns sitting parallel to each other. If I do get them to sit parallel, then the containing div disappears. :-(
Cheers, Jeffery
-------------------------------- 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 ******************************************************
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
