M
michael_quinlivan
Hi all,
I have noticed that the background color of an XML document cannot be
set properly using CSS (that is, you cannot define styles for the BODY
element of an XHTML document).
I have an example of this:
www.houseofnerds.com/mathml_test.xml
Because I am trying to display MathML embedded in the page, I need to
use XML, so I cannot convert this to HTML via XSLT.
The above page renders fine in IE (ignore the giberrish that appears if
you do not have a MathML display plug-in. The important thing is that
it displays the background color as green) However, in Firefox (and I
assume Mozilla and Netscape), the background color is ignored, and it
is white??
Is there any way to acheive a different background color in both
browsers using XML + CSS?? Any other suggestions??
I have noticed that the background color of an XML document cannot be
set properly using CSS (that is, you cannot define styles for the BODY
element of an XHTML document).
I have an example of this:
www.houseofnerds.com/mathml_test.xml
Because I am trying to display MathML embedded in the page, I need to
use XML, so I cannot convert this to HTML via XSLT.
The above page renders fine in IE (ignore the giberrish that appears if
you do not have a MathML display plug-in. The important thing is that
it displays the background color as green) However, in Firefox (and I
assume Mozilla and Netscape), the background color is ignored, and it
is white??
Is there any way to acheive a different background color in both
browsers using XML + CSS?? Any other suggestions??