How do we know when IE is in Quirk mode?



paul dallaire
07-09-2005, 10:03 PM
HI! I would like to know how to tell when IE is in quirk mode or standard
mode.

Another thing. Is there an Extension that anyone knows about than can tell
you if you are in quirk mode or standard mode, like the Firefox
Webdeveloper extension at
http://chrispederick.com/work/firefox/webdeveloper/download/

Thanks in advance :)

Paul

Sandi - Microsoft MVP
07-09-2005, 10:03 PM
Quirk mode?

--

__________________________________________
Hyperlinks used to ensure advice is current
Sandi - Microsoft MVP since 1999
http://inetexplorer.mvps.org

Visit the Internet Explorer Community
http://www.microsoft.com/windows/ie/community/default.mspx

"paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
news:OUqo9RvVFHA.1200@TK2MSFTNGP14.phx.gbl...
> HI! I would like to know how to tell when IE is in quirk mode or standard
> mode.
>
> Another thing. Is there an Extension that anyone knows about than can tell
> you if you are in quirk mode or standard mode, like the Firefox
> Webdeveloper extension at
> http://chrispederick.com/work/firefox/webdeveloper/download/
>
> Thanks in advance :)
>
> Paul
>

Viktor Krammer
07-09-2005, 10:03 PM
Hello Paul,

"paul dallaire" <paul.dallaire@sympatico.ca> wrote
> HI! I would like to know how to tell when IE is in quirk mode or standard
> mode.

Basically it depends whether a doctype specification is included in the html
source or not. You can easily check this by viewing the source and look if a
doctype is present at the beginning:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">

Here is a complete arcticle which specifies for which doctypes standard mode
is actually switched on:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html/cssenhancements.asp

As a rule of thumb it is switched on if HTML 4 or higher is specified.

hth

Viktor Krammer
http://www.quero.at/

paul dallaire
07-09-2005, 10:03 PM
HI! thanks for the reply. the reason why that I need to know if a certain
doctypes is being read correctly by IE. some js scripts do not function
under certain doc types as well as some DW extensions and also other DHTML
menu script programs.

Finding the right doctypes to suit our needs is important and it is useful
to know whether a browser is reading it correctly. I have found a plug in
for Firefox that tells you if the mode is quirk or standard/strict mode by a
small check mark on the toolbar. What I was looking for was a similar tool
for IE.

Paul


"Viktor Krammer" <support@no_spam_quero.at> wrote in message
news:ON7JvmvVFHA.2420@TK2MSFTNGP12.phx.gbl...
> Hello Paul,
>
> "paul dallaire" <paul.dallaire@sympatico.ca> wrote
>> HI! I would like to know how to tell when IE is in quirk mode or standard
>> mode.
>
> Basically it depends whether a doctype specification is included in the
> html
> source or not. You can easily check this by viewing the source and look if
> a
> doctype is present at the beginning:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
>
> Here is a complete arcticle which specifies for which doctypes standard
> mode
> is actually switched on:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html/cssenhancements.asp
>
> As a rule of thumb it is switched on if HTML 4 or higher is specified.
>
> hth
>
> Viktor Krammer
> http://www.quero.at/
>
>

paul dallaire
07-09-2005, 10:03 PM
HI! Quirk mode started a bit like the word BUG in computers when they found
a moth inside a relay which is how the first computers where built.

The word Quirk mode started with Netscape when they found a way of creating
a visual affect by repeating multi background images in the body tag which
in turn created a fade in/out affect or a transition affect.

This is no longer possible because they fixed this issue later in NS,
however the work Quirk stuck. Now when a browser does not conform to the
doctype standard it will switch to a less strict mode ( or none standard
mode) in order to comply with older scripts or technologies.

This is important because some css formatting and other things will not
display correctly as the formatting may be mis read or not read at all. and
new tag/ elements may also not be rendered by the browser.

Paul Dallaire

"Sandi - Microsoft MVP" <sandi_hardmeier@mvps.org> wrote in message
news:eRoNwcvVFHA.2700@TK2MSFTNGP12.phx.gbl...
> Quirk mode?
>
> --
>
> __________________________________________
> Hyperlinks used to ensure advice is current
> Sandi - Microsoft MVP since 1999
> http://inetexplorer.mvps.org
>
> Visit the Internet Explorer Community
> http://www.microsoft.com/windows/ie/community/default.mspx
>
> "paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
> news:OUqo9RvVFHA.1200@TK2MSFTNGP14.phx.gbl...
>> HI! I would like to know how to tell when IE is in quirk mode or standard
>> mode.
>>
>> Another thing. Is there an Extension that anyone knows about than can
>> tell you if you are in quirk mode or standard mode, like the Firefox
>> Webdeveloper extension at
>> http://chrispederick.com/work/firefox/webdeveloper/download/
>>
>> Thanks in advance :)
>>
>> Paul
>>
>
>

C A Upsdell
07-09-2005, 10:03 PM
paul dallaire wrote:
> HI! thanks for the reply. the reason why that I need to know if a certain
> doctypes is being read correctly by IE. some js scripts do not function
> under certain doc types as well as some DW extensions and also other DHTML
> menu script programs.
>
> Finding the right doctypes to suit our needs is important and it is useful
> to know whether a browser is reading it correctly. I have found a plug in
> for Firefox that tells you if the mode is quirk or standard/strict mode by a
> small check mark on the toolbar. What I was looking for was a similar tool
> for IE.

This may prove useful:

http://www.upsdell.com/BrowserNews/res_doctype.htm#a02

paul dallaire
07-09-2005, 10:03 PM
HI! Thanks for the response. However I already know the info at the page you
have given me. this is why I have posted that I was looking for a way to
find out when and if IE is in quirk or standard mode when viewing a page
when I am testing different doctypes.

Paul




"C A Upsdell" <""cupsdellXXX\"@-@-@XXXupsdell.com"> wrote in message
news:%23dobaOxVFHA.2196@TK2MSFTNGP09.phx.gbl...
> paul dallaire wrote:
>> HI! thanks for the reply. the reason why that I need to know if a certain
>> doctypes is being read correctly by IE. some js scripts do not function
>> under certain doc types as well as some DW extensions and also other
>> DHTML menu script programs.
>>
>> Finding the right doctypes to suit our needs is important and it is
>> useful to know whether a browser is reading it correctly. I have found a
>> plug in for Firefox that tells you if the mode is quirk or
>> standard/strict mode by a small check mark on the toolbar. What I was
>> looking for was a similar tool for IE.
>
> This may prove useful:
>
> http://www.upsdell.com/BrowserNews/res_doctype.htm#a02

Sandi - Microsoft MVP
07-09-2005, 10:03 PM
Ah, excellent information, thanks!!

--

__________________________________________
Hyperlinks used to ensure advice is current
Sandi - Microsoft MVP since 1999
http://inetexplorer.mvps.org

Visit the Internet Explorer Community
http://www.microsoft.com/windows/ie/community/default.mspx

"paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
news:eJRe2mwVFHA.1044@TK2MSFTNGP10.phx.gbl...
> HI! Quirk mode started a bit like the word BUG in computers when they
> found a moth inside a relay which is how the first computers where built.
>
> The word Quirk mode started with Netscape when they found a way of
> creating a visual affect by repeating multi background images in the body
> tag which in turn created a fade in/out affect or a transition affect.
>
> This is no longer possible because they fixed this issue later in NS,
> however the work Quirk stuck. Now when a browser does not conform to the
> doctype standard it will switch to a less strict mode ( or none standard
> mode) in order to comply with older scripts or technologies.
>
> This is important because some css formatting and other things will not
> display correctly as the formatting may be mis read or not read at all.
> and new tag/ elements may also not be rendered by the browser.
>
> Paul Dallaire
>
> "Sandi - Microsoft MVP" <sandi_hardmeier@mvps.org> wrote in message
> news:eRoNwcvVFHA.2700@TK2MSFTNGP12.phx.gbl...
>> Quirk mode?
>>
>> --
>>
>> __________________________________________
>> Hyperlinks used to ensure advice is current
>> Sandi - Microsoft MVP since 1999
>> http://inetexplorer.mvps.org
>>
>> Visit the Internet Explorer Community
>> http://www.microsoft.com/windows/ie/community/default.mspx
>>
>> "paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
>> news:OUqo9RvVFHA.1200@TK2MSFTNGP14.phx.gbl...
>>> HI! I would like to know how to tell when IE is in quirk mode or
>>> standard mode.
>>>
>>> Another thing. Is there an Extension that anyone knows about than can
>>> tell you if you are in quirk mode or standard mode, like the Firefox
>>> Webdeveloper extension at
>>> http://chrispederick.com/work/firefox/webdeveloper/download/
>>>
>>> Thanks in advance :)
>>>
>>> Paul
>>>
>>
>>
>
>

paul dallaire
07-09-2005, 10:04 PM
Your welcome :) Here is a link to some official doctypes ( If you don't
already have it ) that are rendered by browser's who comply. There are a few
modes but allot of doctypes for different purposes.

Paul

"Sandi - Microsoft MVP" <sandi_hardmeier@mvps.org> wrote in message
news:%23MxoTGGWFHA.1044@TK2MSFTNGP10.phx.gbl...
> Ah, excellent information, thanks!!
>
> --
>
> __________________________________________
> Hyperlinks used to ensure advice is current
> Sandi - Microsoft MVP since 1999
> http://inetexplorer.mvps.org
>
> Visit the Internet Explorer Community
> http://www.microsoft.com/windows/ie/community/default.mspx
>
> "paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
> news:eJRe2mwVFHA.1044@TK2MSFTNGP10.phx.gbl...
>> HI! Quirk mode started a bit like the word BUG in computers when they
>> found a moth inside a relay which is how the first computers where built.
>>
>> The word Quirk mode started with Netscape when they found a way of
>> creating a visual affect by repeating multi background images in the body
>> tag which in turn created a fade in/out affect or a transition affect.
>>
>> This is no longer possible because they fixed this issue later in NS,
>> however the work Quirk stuck. Now when a browser does not conform to the
>> doctype standard it will switch to a less strict mode ( or none standard
>> mode) in order to comply with older scripts or technologies.
>>
>> This is important because some css formatting and other things will not
>> display correctly as the formatting may be mis read or not read at all.
>> and new tag/ elements may also not be rendered by the browser.
>>
>> Paul Dallaire
>>
>> "Sandi - Microsoft MVP" <sandi_hardmeier@mvps.org> wrote in message
>> news:eRoNwcvVFHA.2700@TK2MSFTNGP12.phx.gbl...
>>> Quirk mode?
>>>
>>> --
>>>
>>> __________________________________________
>>> Hyperlinks used to ensure advice is current
>>> Sandi - Microsoft MVP since 1999
>>> http://inetexplorer.mvps.org
>>>
>>> Visit the Internet Explorer Community
>>> http://www.microsoft.com/windows/ie/community/default.mspx
>>>
>>> "paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
>>> news:OUqo9RvVFHA.1200@TK2MSFTNGP14.phx.gbl...
>>>> HI! I would like to know how to tell when IE is in quirk mode or
>>>> standard mode.
>>>>
>>>> Another thing. Is there an Extension that anyone knows about than can
>>>> tell you if you are in quirk mode or standard mode, like the Firefox
>>>> Webdeveloper extension at
>>>> http://chrispederick.com/work/firefox/webdeveloper/download/
>>>>
>>>> Thanks in advance :)
>>>>
>>>> Paul
>>>>
>>>
>>>
>>
>>
>
>

Sandi - Microsoft MVP
07-09-2005, 10:04 PM
The link is missing :)

--

__________________________________________
Sandi's Site has changed - for instructions on how to
find out URLs, go here:
http://msmvps.com/spywaresucks/archive/2005/05/14/46971.aspx

Hyperlinks used to ensure advice is current
Sandi - Microsoft MVP since 1999
http://inetexplorer.mvps.org

Visit the Internet Explorer Community
http://www.microsoft.com/windows/ie/community/default.mspx

"paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
news:OttmfoGWFHA.3320@TK2MSFTNGP12.phx.gbl...
> Your welcome :) Here is a link to some official doctypes ( If you don't
> already have it ) that are rendered by browser's who comply. There are a
> few modes but allot of doctypes for different purposes.
>
> Paul
>
> "Sandi - Microsoft MVP" <sandi_hardmeier@mvps.org> wrote in message
> news:%23MxoTGGWFHA.1044@TK2MSFTNGP10.phx.gbl...
>> Ah, excellent information, thanks!!
>>
>> --
>>
>> __________________________________________
>> Hyperlinks used to ensure advice is current
>> Sandi - Microsoft MVP since 1999
>> http://inetexplorer.mvps.org
>>
>> Visit the Internet Explorer Community
>> http://www.microsoft.com/windows/ie/community/default.mspx
>>
>> "paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
>> news:eJRe2mwVFHA.1044@TK2MSFTNGP10.phx.gbl...
>>> HI! Quirk mode started a bit like the word BUG in computers when they
>>> found a moth inside a relay which is how the first computers where
>>> built.
>>>
>>> The word Quirk mode started with Netscape when they found a way of
>>> creating a visual affect by repeating multi background images in the
>>> body tag which in turn created a fade in/out affect or a transition
>>> affect.
>>>
>>> This is no longer possible because they fixed this issue later in NS,
>>> however the work Quirk stuck. Now when a browser does not conform to the
>>> doctype standard it will switch to a less strict mode ( or none standard
>>> mode) in order to comply with older scripts or technologies.
>>>
>>> This is important because some css formatting and other things will not
>>> display correctly as the formatting may be mis read or not read at all.
>>> and new tag/ elements may also not be rendered by the browser.
>>>
>>> Paul Dallaire
>>>
>>> "Sandi - Microsoft MVP" <sandi_hardmeier@mvps.org> wrote in message
>>> news:eRoNwcvVFHA.2700@TK2MSFTNGP12.phx.gbl...
>>>> Quirk mode?
>>>>
>>>> --
>>>>
>>>> __________________________________________
>>>> Hyperlinks used to ensure advice is current
>>>> Sandi - Microsoft MVP since 1999
>>>> http://inetexplorer.mvps.org
>>>>
>>>> Visit the Internet Explorer Community
>>>> http://www.microsoft.com/windows/ie/community/default.mspx
>>>>
>>>> "paul dallaire" <paul.dallaire@sympatico.ca> wrote in message
>>>> news:OUqo9RvVFHA.1200@TK2MSFTNGP14.phx.gbl...
>>>>> HI! I would like to know how to tell when IE is in quirk mode or
>>>>> standard mode.
>>>>>
>>>>> Another thing. Is there an Extension that anyone knows about than can
>>>>> tell you if you are in quirk mode or standard mode, like the Firefox
>>>>> Webdeveloper extension at
>>>>> http://chrispederick.com/work/firefox/webdeveloper/download/
>>>>>
>>>>> Thanks in advance :)
>>>>>
>>>>> Paul
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


How do we know when IE is in Quirk mode?