• Answers
  • Web
Personalize Yedda, (And make Danny Happy)
People ask & answer about almost everything. Tell us what you're interested in... So we can personalize Yedda especially for you
I'm interested in:

Flash object in css

In Programming: How do I insert a Flash object into a .css class, and then reference it from HTML code. Is it even Possible?


Share Send to a friend Watch Report
 

Best Answer

 
16 helpful answers

A Flash movie is inserted into an HTML page with the <object> tag (and until its use was deprecated, the <embed> tag). So, you could make a CSS style rule for all object elements on the page:

object { /* style properties */ }

Or, you could give your Flash object element a particular id or class and then select for those in the CSS. For example:

In the HTML:
<object class='FlashMovie' id='myMovie'>[Flash movie parameters]</object>

In the CSS:
object.FlashMovie { /* style properties */ }
or
object#myMovie { /* style properties */ }

Posted 2006-12-05T11:31:04Z
Premasagar was invited by Yedda to answer this question.

Helpful?(6)
Rated as Best Answer

 

All Answers

 

Thank you,

That Works great

Posted 2006-12-06T15:52:18Z

Sign in to participate

Got an answer for nirh? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

HTML/CSS standard for specifying copyright attribution on an image

Is there a standard or common convention for including an attribution to the copyright owner on an image in HTML? (See the blog ...
Submitted by Yaniv   10 months ago.
  • viewed 745 times
Last answer posted 9 months ago by Eran


Q:

Using html/css with aol mail

how can i send email that presents html/css as infomration with aol?
Submitted by llsr   6 months ago.
  • viewed 22 times


Q:

CSS margin in Firefox and IE. I'm tring to create ...

CSS margin in Firefox and IE. I'm tring to create a list <ul> with no left margin but I can't make it happen in Firefox.
Submitted by aviche2   2 years ago.
  • viewed 3914 times
Last answer posted 2 years ago by robertc



» More...

Explore Related Posts in Forums

css/html codes

css/html codes error messing up themes on home page I'm having the same problem on my profile. said to remove css/html/custom codes but I don't know it.HOW DO YOU REMOVE THE CSS/HTML/CUSTOM CODES ??? SAME PROBLEM WITHMY PAGE AND ITS PISSING ME OFF

Is there an app to convert HTML/CSS to FBML?

Is there an app or tool out there to convert HTML/CSS pages to FBML? No. FBML is an evolved subset of HTML with some elements removed, and others which have been added Is there an app or tool out there to convert HTML/CSS pages to FBML?

html css form looks different in IE7 when hosted on server - HTML / CSS

I have a html form styled with CSS.when i open it from the hard drive it looks fine.but when i host it on apache server and open it in IE7 it does not show css formatting.tried all i could.im really Quote: : i have a html form styled with CSS.when i open it from the hard drive it looks fine.but
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License