[theme-reviewers] Using wp_enqueue_style() With IE Conditionals
Philip Walton
philip at philipwalton.com
Fri Apr 22 00:01:36 UTC 2011
Here is a VERY good article on exactly when/why one rule trumps another:
http://dev.opera.com/articles/view/28-inheritance-and-cascade/#thecascade
On 4/21/11 3:51 PM, esmi at quirm dot net wrote:
> on 21/04/2011 23:07 Otto said the following:
>
>> The problem is that stylesheet order doesn't actually matter. CSS is
>> all about specificity of the definitions.
>
> <snip>
>
> Order *does* matter. Take two identical rules in separate sheets and
> the later one takes priority. That's how child themes work, after all.
> :-)
>
> I take your point about specificity but I've got themes that use html
> in some rules. and given that I tend to be pretty specific when
> writing CSS anyway, some of them could be damn hard to over-write
> using pure specificity. I'd argue that there still have to be
> mechanisms available for plugin authors, developers, users etc to load
> later sheets.
>
> Mel
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
More information about the theme-reviewers
mailing list