make IE behave like a standards-compliant browser

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
Post Reply
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

make IE behave like a standards-compliant browser

Post by marcus@localhorst »

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

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">
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
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: make IE behave like a standards-compliant browser

Post by Heiko H. »

Thanks marcus,

i haven't tested it, but that sounds sooooooooooo goooooooooood. :D

Regards Heiko...
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Re: make IE behave like a standards-compliant browser

Post by marcus@localhorst »

it's just to waste some more times to switch through rendering modes and test and test and test :?






... and test again
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Re: make IE behave like a standards-compliant browser

Post by daniel.grant »

this is really good! I'm well impressed. Why did no-one tell me about this before?!!
Post Reply