Forum Moderators: not2easy

Message Too Old, No Replies

Best way to insert a flash element into a css page?

can you set it as a background?

         

humpingdan

10:39 am on Feb 24, 2004 (gmt 0)

10+ Year Member



I was just wondering what is the best way to insert a flash element into a page, ive seen a number of page put it in the back ground of the <div>, how can i do this and is this the best way?

also is there a way of displaying flash to enabled browsers but perhaps just a static picture to those that dont?

BlobFisk

4:44 pm on Feb 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



AFAIK you can only put an image as the background of a <div> (W3C CSS2.1 background [w3.org]).

If you have an example of where this is done, would you mind stickying me the URL or else posting the CSS code?

morris minor

8:46 am on Feb 25, 2004 (gmt 0)

10+ Year Member



A List Apart has a means of putting a Flash movie into a page for a browser that supports it, and an image for those that don't.

Have a look at:
[alistapart.com...]
and scroll down to Alternative Content.