[theme-reviewers] Using wp_enqueue_style() With IE Conditionals
Edward Caissie
edward.caissie at gmail.com
Thu Apr 21 23:57:20 UTC 2011
I would say the recommendation should be to use wp_enqueue_style on
secondary et al. stylesheets leaving the standard "primary" style.css to be
continued as it is commonly found now.
Essentially, as I understood the idea, this is to better implement
conditional stylesheets more than anything else ...
Cais.
On Thu, Apr 21, 2011 at 6:51 PM, esmi at quirm dot net <esmi at quirm.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110421/1067fba7/attachment.htm>
More information about the theme-reviewers
mailing list