Internet Explorer Compatibility View Violates My Website Design

My website design looks great in Mozilla. But when I try to work in IE, the design doesn’t look very good. When the option to view tool compatibility in the IE menu is not set, the design looks great. But by default, the compatibility view is checked.

Is it possible to disable compatibility display or any other problems by default?

+3
source share
4 answers

Even if you browse the website on your own without using the compatibility view in IE8, other users will still view the website in IE6 / 7 and other browsers.

, , .

html-/css, , , , , , .

+2
+1

, . , . , .

+1
source

According to Force IE8 in IE7 compatibility mode , you can add the following tag to make IE8 render like IE7:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

But I think it’s better to clear the HTML so that it works correctly in both IE7 and IE8.

0
source

Source: https://habr.com/ru/post/1765799/


All Articles