Web Hosting Talk







View Full Version : Can you put a swf in css background?


saukwebsolutions
07-05-2007, 01:40 PM
Is it possible?

example: background: url(something.swf)no-repeat;

?

Thanks

youridol
07-05-2007, 03:39 PM
As far as I know this cannot be done, but give it a try and let me know if it works:) If it did work I can't imagine it looking great

saukwebsolutions
07-05-2007, 03:55 PM
well i just used the transparent para when doing it...

you can see an example at: http://omfl.leaguepulse.com

smqt
07-08-2007, 09:15 PM
I don't think it can be done with the background property.
Note that in some browsers even gif-animations aren't properly supported in the bg.