Hi, Michael...

I'm not sure how to answer all your questions, but I think
That IE6 responds to "height" and FF2, and perhaps IE7, respond
to "min-height"... try that and see what happens...

Rick


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Leibson
Sent: Tuesday, July 03, 2007 9:30 AM
To: [email protected]
Subject: [css-d] html background-color acting against body background-color
-- P.S.

P.S.

I subsequently found that:

<style type="text/css">
html {background-color: green;}
body {height: 100%; background-color: blue;}
</style>

DID display the body background-color in IE6 -- for the entire viewport
(minus a default body margin) -- but not in Firefox 2.0.  Is the attribute
"height" only valid in IE6 Quirks mode, or is there some other reason for
this discrepancy?

I also found that when I used this style:

<style type="text/css">

html {background-color: green;}

body {background-color: blue;}

</style>
</head>

<body> text</body>
</html>

-- that is, with no height: 100% given to the body -- that both browsers
displayed the body background-color only as a narrow band behind the text.

Thanks, again, for any tips/comments you'd care to share.

- Michael







      Be smarter than spam. See how smart SpamGuard is at giving junk email
the boot with the All-new Yahoo! Mail at
http://mrd.mail.yahoo.com/try_beta?.intl=ca

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to