In my last question I encountered a style difference between the development version of our website and the deployed one. It turned out to be the compatibility mode issue that hundreds of people here have posted about.
However, most of the proposed solutions just change the document mode, not the browser mode (see this). The company we're doing the site for has forced the setting "Show intranet sites in compatibility mode" on everyone, so even if I use the IE=edge
approach - in either a meta
tag or via <customHeaders>
- the site is displayed in compatibility mode. Now we're using some sophisticated components and other CSS styling that are displayed falsely, crudely, or not at all in compatibility mode, but perfectly if it's off.
Is there any way around this compatibility mode behavior? Since I'm pretty sure an administrator wouldn't want to get rid of this setting.
If this is not possible: Do you have any proposal as to what I can do then? It seems to be hard to style and program towards compatibility mode. Since some controls and fonts have different sizes, some borders have different colours, than the ones specified in the CSS, among other stuff like transitions and gradients not working at all. Like, we are supposed to have our buttons styled so that there are particular rounded corners, and they don't work either....