[SWFObject] insert swf via css?

Geoff Stearns geoff at deconcept.com
Fri Oct 20 07:25:00 PDT 2006


no, not in all browsers at least...

theoretically you could do it in IE since it supports expression()  
statements in css, but then all the other browsrs wouldn't work



On Oct 20, 2006, at 10:12 AM, Jim Berkey wrote:

> Is there any way to insert a swf with swfobject in the css file,  
> for easy insertion? I'd like to insert a swf 'bullet' in every h2  
> div via css:
>
> Adding a bitmap bullet is easy:
> h2 {
> background: transparent url("img/large_bullet.png") no-repeat 0;
> }
>
> This does not work:
> h1 {
> background: transparent url("swf/Smiley_01.swf", "icon", "25",  
> "25", "7", "#fff") no-repeat 0;
> }
>
> Can this be done?
> jimbo
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list