Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Styling IE9 Browser Mode with Document Mode IE7 standards

I've had a "bug" raised by a client using IE9 Browser Mode with Document Mode IE7 standards set (why it is set to this I don't know see attached image) IE9 Browser Mode with Document Mode IE7 standards

This is causing a styling error obviously and the client has requested I fix the error. I'm nearly 100% sure there is nothing I can do to target this sort of a set up and fix the problem. I'm using Modernizr to target the different browsers. I would like a robust answer to bring back to the client as to why this is a scenario I can't fix or if I am wrong and there is something I could do to rectify this then I would appreciate the help.

Thanks.

like image 888
frontendzzzguy Avatar asked May 02 '12 10:05

frontendzzzguy


2 Answers

I don't believe there will be much you can do about this. There are meta tags that enforce the standards but if the user opens up their developer tools and manually selects the settings then it's not really a problem worth looking into.

like image 107
ajwhitehead88 Avatar answered Sep 24 '22 18:09

ajwhitehead88


I know this sounds weird.. but some people have document mode set to IE7 standards BY PAGE DEFAULT.

My mother's version of ie9 is set to IE7 standards. I highly doubt she did this herself and i have no memory of doing this even though i sometimes work on her machine when i visit. So it might be that certain people DO have ie9 set to a deprecated browser standard.. (7)

I think it's high time we stopped supporting 7 anyway. I'm a freelancer and if you want support for anything below ie8 i charge A LOT more. But now that i've run into this document mode issue - where it IS genuinely set to ie7 standards as page default.. i wonder how many people are browsing broken pages out there because of this...

like image 44
ella Avatar answered Sep 22 '22 18:09

ella