Posted by Jim Higson on 11/18/05 11:56
Say I have a CSS file with the star-html hack:
..some-class
{ background-image:url(foo.png);
}
* html .some-class
{ background-image:url(foo.gif);
}
(yes, I know IE can load transparent PNGs using AlphaImageLoader. Let's
pretend it can't for this example)
The question is, will most current browsers apply the CSS rules, then decide
which images to load, or will any see the background-image rules and
immediately load both images?
If the later then the added bandwidth probably overcomes any advantages of
giving out different images.
--
Jim
[Back to original message]
|