Title: Browser specific CSS
Last modified: August 21, 2016

---

# Browser specific CSS

 *  [Emil](https://wordpress.org/support/users/qu1em/)
 * (@qu1em)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/browser-specific-css/)
 * Hi,
 * I’m using the plugin [PHP Browser Detection](http://wordpress.org/plugins/php-browser-detection/)
   to write some browser-specific CSS. I want to output some styling in the head
   if the visitor is using whatever browser.
 * The problem is that whatever browser that is the first to visit after cache is
   cleared will have its browser specific CSS output to the generated html file 
   used for caching.
 *  I’ve tried using mfunc and hooking up to wp_head in functions.php but with no
   luck.
 * Thanks for this fantastic plugin!
 * [http://wordpress.org/plugins/w3-total-cache/](http://wordpress.org/plugins/w3-total-cache/)

The topic ‘Browser specific CSS’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [mfunc](https://wordpress.org/support/topic-tag/mfunc/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [specific](https://wordpress.org/support/topic-tag/specific/)

 * 0 replies
 * 1 participant
 * Last reply from: [Emil](https://wordpress.org/support/users/qu1em/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/browser-specific-css/)
 * Status: not resolved