You ripper, Roger! (okay, for readers who are not older Australians, that means, "You are wonderfully good, Roger!")
On 11/09/06 02:32 -0400, Roger Roelofs wrote:
Nick, On Sep 11, 2006, at 1:32 AM, Nick Urbanik wrote:If you look at http://nicku.org/index.shtml you will see the body background-color is a light greeny colour #e5f5e9, but if you look at http://nicku.org/index.sxhtml in firefox 1.5.0, you will see that the background-color is missing. (If you look at http://nicku.org/ you should get whatever your browser asks for). Can anyone help me to understand why the background-color is missing with application/xhtml+xml but is present with the exact same xhtml and css served as text/html?In html the body element is 'magical' in that it fills the viewport (aka browser window) even when there isn't enough content to do so. In xml that is not true. In xml the html element as the root element gets this 'honor'. Changing your body style to html, body { ... should fix things right up.
It did, thank you very much!
Keep in mind that in xml there is no forgiveness for errors. The parser just stops and puts up an error message rather than trying to display the page anyway.
Yes, I noticed that! :-) -- Nick Urbanik RHCE http://nicku.org [EMAIL PROTECTED] GPG: 7FFA CDC7+5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
pgphMjI6Ohz6x.pgp
Description: PGP signature
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- 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/