Mobile app version of vmapp.org
Login or Join
Gloria169

: How do get my css style sheet to work the same in IE9 as it does in IE8 and other browsers? I am developing the following website and just discovered that the styling of the navigation does

@Gloria169

Posted in: #Css #InternetExplorer9 #WebDevelopment

I am developing the following website and just discovered that the styling of the navigation does not work well in IE9 but is great in IE8 and other browsers - how do sort this out?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gloria169

2 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

or simply you can use CSS - Conditional comments for IE
www.css-tricks.com/how-to-create-an-ie-only-stylesheet www.javascriptkit.com/dhtmltutors/csshacks.shtml
which will be quiet simple if you are a newbie
hope it helps.

10% popularity Vote Up Vote Down


 

@Kevin317

You can use document compatibility mode.

<html>
<head>
<!-- Mimic Internet Explorer 8 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
<title>My webpage</title>
</head>
<body>
<p>Content goes here.</p>
</body>
</html>


You can also set this as an HTTP header. If you are using Apache you can place this in an .htaccess file in your route directory to accomplish the same thing:

Header set X-UA-Compatible "IE=8"

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme