Skip to main content
Inspiring
November 22, 2006
Question

Firefox and IE

  • November 22, 2006
  • 1 reply
  • 232 views
I need some help to understand why this displays differently in Foxfire than
it does in IE 6. And if IE 7 is more compliant with the web standards I will
probably see the same difference with it. The page is located at:
http://www.theinternationalmarket.com/bg_test.php

What I want is for it to display like it does in IE6 with the gray
background covering the whole #wrapper div. and to understand why it isn't
happening in Foxfire. Thank you.


This topic has been closed for replies.

1 reply

Inspiring
November 23, 2006
I found an answer for anyone with the same problem at

http://www.scriptygoddess.com/archives/2004/05/04/css-quirk-in-firefox-with-backgrounds/

Comment # 8
I think a visit here can answer your question.
http://www.complexspiral.com/publications/containing-floats/

The short answer is that floated blocks DO NOT expand their container
block(!), you have to clear them with something else for the container to
spread. If the container is floated it will expand for the floated children
elements. This is by the spec. IE does it wrong, that's all.



"Tmac7425" <tmac7425@comcast.net> wrote in message
news:ek13pp$2g4$1@forums.macromedia.com...
>I need some help to understand why this displays differently in Foxfire
>than
> it does in IE 6. And if IE 7 is more compliant with the web standards I
> will
> probably see the same difference with it. The page is located at:
> http://www.theinternationalmarket.com/bg_test.php
>
> What I want is for it to display like it does in IE6 with the gray
> background covering the whole #wrapper div. and to understand why it isn't
> happening in Foxfire. Thank you.
>