- From: Todd Fahrner <fahrner@pobox.com>
- Date: Tue, 7 Dec 1999 09:56:59 -0800
- To: "Larsen, Gregory A" <Greg.Larsen@DOH.WA.GOV>, "'www-style@w3.org'" <www-style@w3.org>
At 9:37 AM -0800 12/7/99, Larsen, Gregory A wrote:
>The following HTML has a background image in IE 5.00, but not in
>Netscape Communicator 4.7. What am I doing wrong?
This is the wrong forum for authoring help.
But I see the problem: you are using an underscore in your class
selector name. This is illegal, and Netscape is correctly rejecting
the rule. MSIE is incorrectly recognizing it, leading you to think
that perhaps Netscape is broken in this regard (as in so many others).
Microsoft has gotten and will continue to get itself into lots of
trouble with such lenient error-handling. See
http://www.webstandards.org/css/winie/#Incorrect_Error_Handling .
>
><html>
>
><head>
><title>background-image problem</title>
>
><style>
><!--
>a { color: #000000 }
>P.image_here {background-image:
>url(<http://www.w3c.org/Icons/WWW/mail48x>http://www.w3c.org/Icons/WWW
>/mail48x);}
>
>-->
></style>
>
></head>
><b>
><p>No image behind this test</p>
><p></p>
><p></p>
><p></p>
><p class="image_here">Should be a image behind this text. Works in
>IE 5.00 but not in Netscape Communicator 4.7. Anyone have a
>solution? If so Email Me:
><mailto:greg.larsen@doh.wa.gov>greg.larsen@doh.wa.gov<p>
><b>
></html>
--
Todd Fahrner
http://style.metrius.com/
The printed page transcends space and time. The printed page, the
infinitude of books, must be transcended. THE ELECTRO-LIBRARY.
- El Lissitzky, 1923
Received on Tuesday, 7 December 1999 12:57:12 UTC