Welcome to WebmasterWorld Guest from 54.242.9.97

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)

New User

10+ Year Member

joined:Aug 13, 2004
posts:8
votes: 0


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)

Preferred Member

10+ Year Member

joined:Sept 24, 2002
posts:364
votes: 0


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)

New User

10+ Year Member

joined:Aug 13, 2004
posts:8
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members