Topic: CSS Override Stylesheets |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Phoenix |
posted 02-09-2004 16:53
Howdy, |
Bipolar (III) Inmate From: Cold Sweden |
posted 02-09-2004 17:59
Yea, if it's the same (or equivalent) selector in both files, the selector in the stylesheet_override should will indeed override the selector in stylesheet_base. However, it also has to do with the specificity. For example, if the selector in stylesheet_base looks like code: table#mytable
code: #mytable the second selector will not override the first one since the first one has a higher specificity (see http://www.w3.org/TR/REC-CSS2/cascade.html#specificity ) |