5h4rk @ gmail wrote:
> Hello, I just wondering if it's ok to use background-image for an img
>  tag, is it buggy? Otherwise I'd have to add an extra div to the img 
> which i don't want.

Something like...

img.some-class { background: url(some-img.png);}

...is ok and works just fine in all browsers. I use it quite often on
gifs and pngs.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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