• Answers
  • Web

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   1 year ago.
  • viewed 856 times
Last answer posted 11 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   8 months ago.
  • viewed 33 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   3 years ago.
  • viewed 4081 times
Last answer posted 2 years ago by robertc



» More...

Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2010, Yedda Inc. and respective copyright owners · CC License