Title: compatibility mode ie9
Last modified: August 20, 2016

---

# compatibility mode ie9

 *  [fjclem123](https://wordpress.org/support/users/fjclem123/)
 * (@fjclem123)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/compatibility-mode-ie9/)
 * Hello – I’m confused about compatibility mode in IE9. My site works great everywhere,
   according to Adobe Browserlab and other tests, except IE9. When I view the site
   in IE9 the layout is broken, then I click Tools > Compatibility View and it views
   correctly.
 * Is there a way to force compatibility view?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/compatibility-mode-ie9/#post-2526844)
 * It would be far better to sort out the issues in IE9, and then, if needed, use
   [conditional comment CSS](http://codex.wordpress.org/Conditional_Comment_CSS)
   to handle earlier versions of IE.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/compatibility-mode-ie9/#post-2526886)
 * Make sure there is no code before the <DOCTYPE statement. It should be line #
   1.
 *  Thread Starter [fjclem123](https://wordpress.org/support/users/fjclem123/)
 * (@fjclem123)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/compatibility-mode-ie9/#post-2526961)
 * [@kmessinger](https://wordpress.org/support/users/kmessinger/) Thanks. I thought
   the first line had to be <?php ?>.
 * [@esmi](https://wordpress.org/support/users/esmi/) – I have the conditional comments
   listed like this…. after the `<!DOCTYPE HTML>
 * <!–[if IE 6]><html id=”ie6″ <?php language_attributes(); ?>><![endif]–>
    <!–[
   if IE 7]><html id=”ie7″ <?php language_attributes(); ?>><![endif]–> <!–[if IE
   8]><html id=”ie8″ <?php language_attributes(); ?>><![endif]–> <!–[if !(IE 6) 
   | !(IE 7) | !(IE 8) ]><!–><html <?php language_attributes(); ?>><!–<![endif]–
   >`
 * _[Please post code or markup snippets between backticks or use the code button.]_
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/compatibility-mode-ie9/#post-2526998)
 * Then start by validating your site.
    [http://codex.wordpress.org/Validating_a_Website](http://codex.wordpress.org/Validating_a_Website)
 *  Thread Starter [fjclem123](https://wordpress.org/support/users/fjclem123/)
 * (@fjclem123)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/compatibility-mode-ie9/#post-2527023)
 * Okay, thanks. I’ll try that.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘compatibility mode ie9’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [fjclem123](https://wordpress.org/support/users/fjclem123/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/compatibility-mode-ie9/#post-2527023)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
