I have a bug in which a user which views my web application using IE8 hits F5 (refresh) and from time to time, the paged is rendered incorrectly.
I was able to reproduce it on my dev machine and using IE developer tools I was able to find out that the document mode became Quirks. When I changed the value to "Internet Explorer 8 Standards (Page Default)" the problem is resolved and the layout is back to normal.
Some technical info:
- Normally, the page is loaded as "Internet Explorer 8 Standards (Page Default)".
- My doctype is:
<!DOCTYPE html>
- I have the following meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=edge">
- The meta tag is the very first element in the "head" element (since some posts suggested that it should be before any other elements, even before the "title" element.
I'll appreciate your help :)
Edit: I also tried to uncheck the “display all intranet sites in compatibility mode" checkbox.