Title: Different CSS for different browsers
Last modified: August 18, 2016

---

# Different CSS for different browsers

 *  [drexler19](https://wordpress.org/support/users/drexler19/)
 * (@drexler19)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/different-css-for-different-browsers/)
 * I have a problem with the footer of my blog in Internet explorer, where it has
   been pushed over to the right of the screen. I can’t seem to fix it in the css
   and was instead wondering if there was some way to use a php conditional or something
   to call up a different css stylesheet depending on the browser. EG, a simple 
   one for IE and the usual more complicated one for other browsers. If anyone knows
   a way of doing this, I would be really grateful! Thanks! Also If anyone knows
   an IE hack for positioning a browser then I would also be really grateful! Thanks
   again!

Viewing 1 replies (of 1 total)

 *  [mozey](https://wordpress.org/support/users/mozey/)
 * (@mozey)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/different-css-for-different-browsers/#post-485007)
 * <script language=”JavaScript”><!–
    browser_version= parseInt(navigator.appVersion);
   browser_type = navigator.appName;
 *  if (browser_type == “Microsoft Internet Explorer” && (browser_version >= 4)){
   
   document.write(“<link REL=’stylesheet’ HREF=’YOURIESHEETHERE’ TYPE=’text/css’
   >”); }
 *  else {
    document.write(“<link REL=’stylesheet’ HREF=’YOURDEFAULTSHEETHERE’ TYPE
   =’text/css’>”); } // –></script>
 * Note that your header is usually like this:
 *  <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/
   css” media=”screen” />
 * ITS UGLY, but hey!,

Viewing 1 replies (of 1 total)

The topic ‘Different CSS for different browsers’ is closed to new replies.

## Tags

 * [browser](https://wordpress.org/support/topic-tag/browser/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [mozey](https://wordpress.org/support/users/mozey/)
 * Last activity: [19 years, 4 months ago](https://wordpress.org/support/topic/different-css-for-different-browsers/#post-485007)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
