I have it of several different pages in several contexts. Here are two examples:
body { background:#ffffff url( "images/softwhite.gif" ) ; }
and also
body { background:#cccccc; }
Neither the color or the image shows up in Firefox, but it displays fine in IE. Anyone know of a situation in CSS and HTML programming that could cause this and, more importantly, how to correct it?
2007-08-02
09:47:25
·
5 answers
·
asked by
JamesWilliamson
3
in
Computers & Internet
➔ Programming & Design
* Thanks Don, but all settings are default for Firefox, and Netscape, when set to "render like Firefox," does the same thing. Opera does show the background color or image.
2007-08-02
09:58:10 ·
update #1
* Ty, Colnic, but no. I tried your suggestions. Also, as much as we all like it, lets refrain from the MS bashing. I'm using w3c standard XHTML and CSS. IE and Opera appear to render correctly, while Firefox is messing up.
2007-08-02
10:03:49 ·
update #2
Michael- only one background code for the body, everything is done properly. Anyone else?
2007-08-02
10:07:49 ·
update #3
I found my issue- I accidently put an html comment in the first line of the style sheet instead of just before the style tag. This messed up the first line of my code, when was my body color or image statement. I'd startedc with the same base file, so I had the same mistake in all my pages. Thanks.
2007-08-02
10:32:10 ·
update #4