make IE behave like a standards-compliant browser
Posted: Fri 28. Mar 2008, 09:40
Hi,
yesterday I stumbled across this nice JavaScript library
ie7-js A JavaScript library to make MSIE behave like a standards-compliant browser..
A quick, hotlinked test makes me open-mouthed. It just works in every IE version.
IE8-beta acts still a bit strange, but it's beta.
Maybe you can now forget all your CSS hacks and .htc behaviours
And don't forget - if you work with IE8 you can set the header
to switch IE8 in IE7 strict mode.
That's maybe useful if you site looks great in IE7 and below, but now fucks up in IE8 (because of css hacks or whatever)
For more about that, take a look here: http://snipplr.com/view/5544/how-to-set ... atibility/
have a nice day
marcus
yesterday I stumbled across this nice JavaScript library
ie7-js A JavaScript library to make MSIE behave like a standards-compliant browser..
A quick, hotlinked test makes me open-mouthed. It just works in every IE version.
IE8-beta acts still a bit strange, but it's beta.
Maybe you can now forget all your CSS hacks and .htc behaviours
And don't forget - if you work with IE8 you can set the header
Code: Select all
-- PHP
header('X-UA-Compatible:IE=7');
-- HTML, put this directly under <title>
<meta http-equiv="X-UA-Compatible" content="IE=7">
That's maybe useful if you site looks great in IE7 and below, but now fucks up in IE8 (because of css hacks or whatever)
For more about that, take a look here: http://snipplr.com/view/5544/how-to-set ... atibility/
have a nice day
marcus