On Feb 14, 2011, at 1:10 PM, Keith Purtell wrote:

> Can I apply CSS to an object (in this case a Flash object) in a page or
> do I need to wrap it in a DIV or P? The page where I applied styling
> directly to an object passed the validator, but I've got a funny feeling
> it's still not kosher.

Sure you can, <object> is an html element like any other.
Just remember that
1. <object> is an inline replaced element – like <img> or <input>, and thus you 
can't touch the content.
2. browsers have bugs (cough Gecko, cough)

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to