Dealing With All That IE Meta Tag Crap
Thursday, March 26, 2009With the release of IE8, we now have a new meta tag to add to our web pages. This brings the total number of meta tags essential for disabling stupid Internet Explorer features to four. Here they are:
<meta http-equiv="MSThemeCompatible" Content="No"/>
<meta name="MSSmartTagsPreventParsing" content="true"/>
<meta http-equiv="imagetoolbar" content="no"/>
<meta http-equiv="X-UA-Compatible" content="IE=8"/> To make this more easily manageable, here's a TextMate bundle I created. If you type:
go fuck yourself IE[TAB] the bundle snippet will vomit the above meta tags into your HTML, while hopefully putting a little smile on your face.
Download it: All that IE crap.tmbundle
3 Comments
Added to Spring for you baby...
It's terrible for developers to have to built webpages what works with all browsers. Four or five browsers, from different companies, seeing the code the way they want to, we're hungry for more rules and "laws" on the internet, enough with browsers breaking webpages :/
*Love your IE8 bundle btw, it did put a smile on my face ;)
thanks for code,this code/validation is very use ful for me.