Ron Jonk wrote:
I've read it before in this list that backgound rendering on xhtml on
the body is not always supported for xhtml strict documents.
But I found this very strange( i don't know if this already has been a
topic):
On firefox when I have a background image for my body tag on a xhtml
strict doctyped document, I still see the background rendered even if
there is no content.
But when I only change the extension of the file from .html to .xhtml
firefox stops background rendering when there is no content. IE still
renders the background.
I am sure I understand.
I have three test files all of them use this doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
1] this is xhtml
<http://www.chelseacreekstudio.com/ca/cssd/stuff.xhtml>
The background color is on the *body* and compliant browsers will paint
to the bottom of the content.
IE can not render xhtml and will not open the file.
2] this is /also/ xhtml
<http://www.chelseacreekstudio.com/ca/cssd/stuff01.xhtml>
The background color is on the *body and html* and compliant browsers
will paint to the entire screen.
IE can not render xhtml and will not open the file.
2] this is not xhtml-- it is html
<http://www.chelseacreekstudio.com/ca/cssd/stuff.html>
The background color is on the *body* and IE and compliant browsers will
paint the entire screen.
HTH.
~dL
--
http://chelseacreekstudio.com/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************