Click to See Complete Forum and Search --> : styling <object> ?? swf animation style..


FIN23
03-16-2007, 05:17 PM
hi all

I have a small swf movie that plays on a banner of a website and i am having reall trouble adding some style to it, Namely padding!

heres the Html
<div id="banner">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="766" height="50">
<param name="movie" value="images/swfimages/banner.swf">
<param name="quality" value="high">
<embed src="images/swfimages/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="766" height="50"></embed>
</object>
</div>

for the life of me i cannot force any kind of style to this movie, which tag do i target? I have succeeded in adding a border to the movie but no positioning.

(added border by targeting the 'object')

basically i have a 766px wide div and my animation needs to float left with a margin of 40px.. any help? the movie at present is 766px wide but it needs to be around 700!

NogDog
03-17-2007, 12:51 AM
Probably I'd give 40px padding to the <div> and float:left to the <object>.