|
|
 |
RE: FN-FORUM: inputting flash into css
date posted 30th January 2007 14:44
I think you may already have had an answer to this but... you cant do it that way. Flash needs to be enclosed in and tags to work properly. If you insert the flash via dreamweaver then look at the code you'll see whats needed. Essentially you're trying to referance the .swf in your CSS as you would an image and thats just not going to work.
If may be alot of code to display the .swf but thats how it works ;)
>
>Hi all, was wondering if any body could help me out. I am trying to add a
>flash swf file to my css. I am creating a web page in dreamweaver and can add
>the swf file directly into the page via the design page view. But i think it
>is a messy way to code. I have added the code below to my css
>
>/**************************************************************
> Header Flash Movie
> **************************************************************/
>
>#headerImg {
> margin: 0 auto;
> height: 100px;
> background: url(../images/button.swf) no-repeat top left;
>
>and have added the code below to my HTML web page thinking that it would
>automatically pull the source from the css and display it on the web page.
>But
>no such luck. Is there anyone out there who could cast some light on this for
>me. I would be very grateful. Cheers
>
>
>
>
>
>
>
>--
>Freelancers, contractors earn more with Prosperity4
>Call 0870 870 4414 or visit www.prosperity4.com
>and benefit from Inland Revenue approved expenses today.
>
>To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|