Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Adding CSS to an embedded Flash Object.

Not sure how?

2:46 pm on Aug 22, 2004 (gmt 0)

10+ Year Member

Ok, well I have a simple flash movie embedded into my html like this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="160" height="199">
<param name="movie" value="images/welcome.swf">
<param name="quality" value="high">
<embed src="images/welcome.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="160" height="199"></embed></object>

And I wish to add this style to it but Im not sure how? :

img.right { border: 0.06em solid #FF66CC;
border-right: 0em solid #FF66CC;
border-bottom: 0em solid #FF66CC;

Thanks for your time.

2:52 pm on Aug 22, 2004 (gmt 0)

10+ Year Member

add an attribute class="right" to make your css take affect in the object element,

<object class="right" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="160" height="199">
10:40 am on Aug 23, 2004 (gmt 0)

10+ Year Member

It adds the border successfully in ie6 but in Mozilla and netscape it doesnt load the border properly.

Featured Threads

Hot Threads This Week

Hot Threads This Month