Emulate IE7 for IE8 but not for IE9 using “X-UA-Compatible”

I just had a play and found the following works for me: <meta http-equiv=”X-UA-Compatible” content=”IE=7,IE=9″ > That is with a comma not a semi colon! I haven’t looked at the spec, but the format is similar to content=”IE=7,chrome=1″ that works for Chrome Frame. I also found that content=”IE=7,9″ works but I suspect that is not … Read more

How do you detect support for VML or SVG in a browser

I’d suggest one tweak to crescentfresh’s answer – use document.implementation.hasFeature(“http://www.w3.org/TR/SVG11/feature#BasicStructure”, “1.1”) rather than document.implementation.hasFeature(“http://www.w3.org/TR/SVG11/feature#Shape”, “1.0”) to detect SVG. WebKit is currently very picky about reporting features, and returns false for feature#Shape despite having relatively solid SVG support. The feature#BasicStructure alternative is suggested in the comments to https://bugs.webkit.org/show_bug.cgi?id=17400 and gives me the answers I expected on … Read more

tech