I forgot about haslayout when I suggested float. My how your mind begins to
skip things when they aren't staring you in the face.  

Avoid using height:0 as the hack. It could come back to haunt you in the
future. Use zoom:1; instead. This will provide layout without creating a
potential size conflict in the future.

Don't forget, IE7 is on the horizon and your hacks need to be future proof.

Ted


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of George S. Williams
Sent: Monday, December 26, 2005 1:49 PM
To: [email protected]
Subject: Re: [WSG] Yet Another Float Problem

Hey, Paula,

I had a similar problem last week and it was suggested that I add the
following at the bottom of the style sheet-

@media screen {
* html #wrapper {height: 0;}
}

which solved the problem.

My problem was, apparently, due to an IE bug, Lack of Layout, more
information on which is at the following-

http://www.satzansatz.de/cssd/onhavinglayout.html

Hope this fixes it for you,
George

On Mon, 2005-12-26 at 16:23, Paula Petrik wrote:
>  If I float:left  the #maincontent, I lose my background image because
#wrapper has no  
> height. 
-- 
                         Sterling Web Services
                       http://www.websterling.com
                           The Web Done Right

******************************************************
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
******************************************************

Reply via email to