Windows 7 - Does Windows 7 by default goes into Quirks mode?
Asked By Aishah Ismail on 06-Mar-12 10:37 AM
Hi Expert,
Do you know if Windows7 by default will go into Quirks mode upon opening a new browser?
How does the Quirks works for .NET application? Please advise.
Thank you,
Khasha
[)ia6l0 iii replied to Aishah Ismail on 06-Mar-12 11:11 AM
If the document does not have a valid doctype, the browser would try to render in Quirks mode (which is some standard old version of the browser).
You will have to set explicit doc-types and allow backward comparability and control the styles effectively through CSS for your .Net (ASP.Net) web applications.
I believe <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> is a valid doctype that lets the browser to display the webpage in standard layout or compatibility view of current version as per your setting.