Shopping cart breaks in ie10 compatibility mode
Author: Marit Søbye Nilsen
Visited 888,
Followers 1,
Shared 0
Sometimes people just don't know what compatibility mode is, nor that it has been switched on accidentally. When it is switched on it remains as the browser default setting until it is intentionally switched off.
See this site:www.maritskrystaller.no. Pages when render ok in IE10 compatibility mode, EXCEPT for the cart when it contains proudcts. Put an item in cart and then go to cart (step 1) to see problem at lower part of page.
Work around: insert Microsoft "edge" tag just after title in head:
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
This prevents page from accidentally being shown in compatibility mode, but has some drawbacks such as page won't validate etc. (Google the tag to find out more).
Posted on the
Hello Ian,
This is a known issue of IE to keep compatibility mode active, once it is not necessary or until it has been turned off. Until Microsoft decides to fix this issue the only way is to use the meta tag you wrote. The validation of the html code is not a strict rule that has to be followed but more a guide on how to keep the code correct so that all browser will render the pages perfectly. This single meta tag will not be validated because it is not a standard function but a fix for IE but it also if not 100% validated, this won't harm the code of your website or the pagerank since the rest of the code is perfectly correct.
Many thanks!