List,

I was having a discussion in the comments of an article about using
svg as a background-image in CSS, and using a png as fallback. I was
writing it like this:

background-image: image.png;
background-image: image.svg;

But this fails in IE8 (and presumably in other non-svg-supporting browsers).

My thought was that it would work like background-color does.

Sample page:
http://tomliv.com/nick-test/

Just trying to learn here. Why does the cascade not work in both cases?

-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to