homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Adding CSS to an embedded Flash Object.
Not sure how?

10+ Year Member

Msg#: 4390 posted 2:46 pm on Aug 22, 2004 (gmt 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.



10+ Year Member

Msg#: 4390 posted 2:52 pm on Aug 22, 2004 (gmt 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+ Year Member

Msg#: 4390 posted 10:40 am on Aug 23, 2004 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved