ASP.NET: How to avoid IE8 issues with one line of code
Internet Explorer is nearly always half-baked, never having decent support for the latest language syntax and causes more problems than it solves. IE8 is no exception, really causing ridiculous problems that it shouldn’t. Developers spend days on things that should normally take minutes, because Microsoft teams make a habit out of ignoring best practices and listening to their users.
Here’s how to make IE8 behave as IE7, which eliminates most of the strange display and other issues in IE8 that shouldn’t be there. Stick it to the man with this one line, placed inside your
tags.<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
</head>