Hey, has anyone else had this problem?

Consider the following rule:

h4 {
    background-image: url(something.jpg) !important;
    background-image: none;
    }

When this is declared as part of an external or embedded stylesheet, browsers that understand !important show a background image on the h4; browsers that don't understand !important (NN4) show a transparent area.

However, when the rule above is used inline, like this:

<h4 style="background-image: url(something.jpg) !important; background-image: none;">...</h4>

... browsers that don't understand !important (NN4) still show a transparent area, which they should, and browsers that do understand ! important still show a background image on the h4, which they should, except Safari (I'm using version 2.0 ... not sure about other versions) - which should show an image - shows a transparent area.

Tim

- - - - - - - - - - - - - - -
Tim Brown
Web Designer

Vassar College
Office of College Relations
(845) 437-5997

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to