Against the background of
dreams of the disappearance from the desktops of one well-known browser, I would like to tell you about the problem that I recently encountered and which I do not know how to solve.
Creating Internet Explorer 8 at Microsoft, they decided, as always, to jump higher than the others and contain as many as two browsers in it. If you still did not know about this possibility, then just press F12 and see what I am talking about. So, in one bottle, we have IE7 and IE8. An interesting deal? It becomes even more interesting when it turns out that IE8 in IE7 mode is not an exact copy of Internet Explorer 7.
')
Take, for example, this code:
<div style = "border: 1px solid red;">
<input type = "text" style = "vertical-align: top;" />
</ div>
This is what it looks like in IE7 and IE8 in IE7 mode.

or a little closer:

So, what we have. And we have different input'ov widths (which, of course, is fixable by its explicit assignment) and incomprehensible samples from above and below input'a, which is very critical with a pixel-by-pixel layout that I needed. The most important thing that we have is that there are facts of different mappings of the same typesetting in IE7 and in IE8 in IE7 mode. It turns out that if the hapless user accidentally switches the mode (as happened with my customer), then he may well begin to be indignant ... And so any (!) User can do.
So far I don’t know hacks that worked in one of the browsers and didn’t work in the other (IE8 understands hacks for IE7 in IE7 mode), and as the number of IE8 users grows, especially among website customers, the number of similar problems and questions will grow: Press F12, what is written there? ”,“ Do you look in IE7 or in IE8 in IE7 mode? ”.
I would like to know the opinion of the habrasoobshchestvo on this issue, as well as your examples, if you come across something similar.