here’s how to fix Internet Explorer 8 messing up your design
-
This mini-plugin will fix your layout/graphics
for visitors that insist on using IE 8.0
function fix_ie8() {if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 8")) {header("X-UA-Compatible: IE=7");}}
add_action('bb_send_headers','fix_ie8'); // for bbPress
add_action('send_headers','fix_ie8'); // for WordPressEssentially it makes IE8 render like IE7 by sending a special (invisible) header only to IE8 users.
Problem solved.
It blows my mind that a page that can render perfectly in Opera – which is THE standards browser – can be messed up by Microsoft attempting to conform to standards. What a (continued) waste of everyone’s time.
ps. For those that don’t want to install IE8 permanently to just test their sites, this version will run in it’s own virtual box so it doesn’t affect the rest of your system:
- You must be logged in to reply to this topic.