Welcome to WebmasterWorld Guest from 54.163.168.15

Forum Moderators: not2easy

acceptable forms of background-image

   
8:08 pm on Sep 21, 2005 (gmt 0)

5+ Year Member



Hello all. Just a stupid question I've been pondering. Are any video formats acceptable as sources for the background-image in CSS? Any help on this would be appreciated. I've played around with the code but seem to come up with nothing. I was just wondering!

Thanks.

8:26 pm on Sep 21, 2005 (gmt 0)

10+ Year Member



It has to be still images, preferably GIF, JPEG or PNG. And though I've never tested it, I drought animated GIFs will only display at a still image.
8:34 pm on Sep 21, 2005 (gmt 0)

5+ Year Member



Thanks for the info.
8:37 pm on Sep 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



though I've never tested it, I drought animated GIFs will only display at a still image

Just tested it. Animated gifs display as animated gifs when set as background-images. :)

cEM

9:08 pm on Sep 21, 2005 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Animated gifs definitely work for background images - I've been using this approach this for years to create interesting hover effects. Opera 6 did not support animated background images, but other than that, all is well.
11:40 pm on Sep 21, 2005 (gmt 0)

10+ Year Member



I now stand corrected.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month