[wp-trac] [WordPress Trac] #19669: body_class - add browser class to the body

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 26 17:37:39 UTC 2011

#19669: body_class - add browser class to the body
 Reporter:  nofearinc    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.3
 Severity:  normal       |  Resolution:
 Keywords:  close        |

Comment (by toscho):

 Replying to [comment:3 nofearinc]:
 > conditional are standard for including scripts, but including files with
 3-10 lines of CSS styling might be an overhead in my opinion (using
 combine scripts could be a solution here).

 Don’t include separate CSS files, [http://toscho.de/2010/wordpress-
 internet-explorer-ohne-css-hacks-ansprechen/ add class names to the HTML
 element] and use separate ''selectors'' in your stylesheet. Content-
 Negotiation is tricky. Getting it right with local caches and remote proxy
 servers is more work than most people imagine. Avoid it whenever possible.

Ticket URL: <http://core.trac.wordpress.org/ticket/19669#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list