On Sunday, January 16, 2011 03:52:39 am Alan Gresley wrote:
> I did a few test and found that you can use just simple type selectors
> also. This CSS,
> 
> body { background: lime; }
> 
> will override this.
> 
> <body bgcolor="#FFFFCC">

Nice to know.  I'd been assuming that bgcolor was similar to 
style="background-color" in specificity.  I hadn't tested it though, proving 
that what they say about assuming is true.

---Tim
______________________________________________________________________
css-discuss [[email protected]]
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