WordPress Quick Tips

Archive for September 2010

Add the browser name and version to the body class

Posted by: Vincent on: September 1, 2010

As suggested by Phil Irish, the best way to make browser specific CSS is with a class on the body element rather than separate CSS files or complex hacks. In his example he used conditional HTML to create multiple body-tags, but with this simple function you can just add the browser name and version to [...]

Tags: , ,

About

WordPress Quick Tips is a blog supplying great tips about WordPress.

We hope to create a great knowledge resource for WordPress developers as well as serving a reminder for all the forgetful ones.

The blog is created and run by Vincent of Oakwood Creative

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 86 other followers

Follow

Get every new post delivered to your Inbox.

Join 86 other followers