Lori Hylan-Cho wrote:
>>> Thoughts on what's happening here, and ways to work around 
>>> it? Is setting a width on the div the only way to get the 
>>> browsers to match?
> 
> Zoe wrote:
>> Which one do you want to change -- FF or IE?
> 
> I guess I was imagining that if one browser was obviously getting it wrong,
> that's the one I'd want to fix. 

In case this means you need a fix for IE:

#main { width: 100%; overflow: hidden; background-color: #999; }
#main img { margin: 20px;}
body { padding: 20px;}

looks equal to

/*
#main {
        background-color: #999;
        margin: 20px;
        padding: 20px;
        overflow: hidden;
        }

*/

in standards mode.

/Due to/ the expanding box problem, IE needs a real dimension for 
overflow to work.

Ingo

-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to