Thursday, December 15, 2011

How to avoid Quirks mode in IE

Put this line in the first place
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>


Reference:
How to avoid compatibility view and quirk mode in IE?

Put specific HTML standard in DOCTYPE tag
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">  






Display Modes in ASP.NET MVC 4 Developer Preview

http://www.sitepoint.com/asp-net-mvc-4-developer-preview-display-modes/

Old code





http://notinventedhe.re/on/2011-11-9Not Invented Here strip for 11/9/2011