Click to See Complete Forum and Search --> : how to insert *.swf?


tbone
08-15-2006, 06:56 AM
Hi all,
I was just wondering how can I insert an swf to replace a jpg?
#header {
height: 105px;
background: url(../images/logo.jpg) no-repeat;
}

thanks

febrocks
08-15-2006, 12:10 PM
I have not found way to insert a swf file in the css, background: url:. I don't think you can. You just put the swf in the header container.

Eugene

tbone
08-15-2006, 07:24 PM
As in just have:
#header {logo.swf}
?
I have never done anything in css before...

Siddan
08-15-2006, 07:56 PM
no.. more like

<div id="header">

<object
type="application/x-shockwave-flash" data="logo.swf"
width="400" height="300">
<param name="movie" value="movie.swf" />
</object>

</div>