Click here to Skip to main content
13,141,576 members (56,473 online)
Rate this:
Please Sign up or sign in to vote.
If HTML page has multiple frames and each frames opens an HTML page and since each of this html pages has different Doctype, then how browser would decide the Mode.

My actual requirement is to keep my webpages in quirks mode but i have a frames where i make use to render third party UI controls which supports only Standard Modes. So i want to keep only that frame in a Std Mode(using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">)

as per my testing so far, even after changing doctype to Std mode, it is still behaving as quirks mode. The parent frame is still kept with doctype use to support quirk mode.
Posted 11-Apr-13 4:47am
Prasad Khandekar 11-Apr-13 11:03am
Have you tried using <meta http-equiv="X-UA-Compatible" content="IE=Edge">. It will force browser to switch to Standard Mode.
devcode007 11-Apr-13 12:07pm
ok I will try this...meanwhile can you tell whether it switches to strict standard mode or Almost standard mode. I want browser to entertain legacy stuff as well as oppose to strict standard mode which i believe set things as per HTML5 strictly.
Prasad Khandekar 11-Apr-13 15:07pm
I think you are better of putting the meta tags in all your pages where Standard Mode is desired. More information about various modes is available here (

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 11 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100