Welcome to WebmasterWorld Guest from 54.147.134.218

Forum Moderators: not2easy

Message Too Old, No Replies

acceptable forms of background-image

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

New User

10+ Year Member

joined:Sept 6, 2005
posts:3
votes: 0


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 Sept 21, 2005 (gmt 0)

Full Member

10+ Year Member

joined:July 30, 2003
posts:322
votes: 0


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 Sept 21, 2005 (gmt 0)

New User

10+ Year Member

joined:Sept 6, 2005
posts:3
votes: 0


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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 6, 2004
posts:2239
votes: 0


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 Sept 21, 2005 (gmt 0)

Senior Member

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

joined:May 26, 2000
posts:37301
votes: 0


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 Sept 21, 2005 (gmt 0)

Full Member

10+ Year Member

joined:July 30, 2003
posts:322
votes: 0


I now stand corrected.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members