: 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
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?
More posts by @Gloria169
2 Comments
Sorted by latest first Latest Oldest Best
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.
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"
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.