Shadow2531
[H]ard|Gawd
- Joined
- Jun 13, 2003
- Messages
- 1,670
In Mozilla 1.6 and Firefox 0.8, when viewing one of my xhtml 1.1 pages served as application/xhtml+xml, there is a white box around the body.
This did not happen in firebird 0.7 and Mozilla 1.5.
As you will notice, I have a background pic.
For me to get rid of the white box, I have to set the background-image for the html element instead of the body.
Here's what I would have to change my css to.
html
{
background-image: url(../pics/stars.jpg);
background-repeat: repeat;
background-attachment:fixed;
background-color: #000000;
}
body
{
color: #ff0000;
font-family: serif;
background-color: transparent;
}
That works great and opera doesn't have a problem with it, but my question is, should I have to do that? Opera doesn't require me to do that.
Is it a bug in Mozilla 1.6 and Firefox 0.8 or do you think the devs made it like that to better conform to the w3c spec with the idea that in xml, the html tag is just another element that can be styled.
Thanks.
Here's the corrected version . The w3c validtor doesn't have a problem with it, but just would like some opinions or the actual link to the spec on this situation.
(keep in mind that the geocities type look of that page is done on purpose).
This did not happen in firebird 0.7 and Mozilla 1.5.
As you will notice, I have a background pic.
For me to get rid of the white box, I have to set the background-image for the html element instead of the body.
Here's what I would have to change my css to.
html
{
background-image: url(../pics/stars.jpg);
background-repeat: repeat;
background-attachment:fixed;
background-color: #000000;
}
body
{
color: #ff0000;
font-family: serif;
background-color: transparent;
}
That works great and opera doesn't have a problem with it, but my question is, should I have to do that? Opera doesn't require me to do that.
Is it a bug in Mozilla 1.6 and Firefox 0.8 or do you think the devs made it like that to better conform to the w3c spec with the idea that in xml, the html tag is just another element that can be styled.
Thanks.
Here's the corrected version . The w3c validtor doesn't have a problem with it, but just would like some opinions or the actual link to the spec on this situation.
(keep in mind that the geocities type look of that page is done on purpose).