homepage Welcome to WebmasterWorld Guest from 54.196.196.62
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

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




msg:1207486
 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.

 

SethCall




msg:1207487
 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">

Jimbob23




msg:1207488
 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