Re: [css-d] Question about standards compliant mode in IE

2010-03-23 Thread Tim Snadden

On 22/03/2010, at 11:11 AM, Claude Needham wrote:

 Or, would that be the F12 Developer Tools thing in the IE8?

I'm talking about the Microsoft one (http://bit.ly/2MHgIY). While it's  
still a pale imitation of Firebug, the IE8 one is much improved and  
can be used for most IE7 work by switching modes.
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Question about standards compliant mode in IE

2010-03-23 Thread Philip TAYLOR


Tim Snadden wrote:

  I'm talking about the Microsoft one (http://bit.ly/2MHgIY). While it's
  still a pale imitation of Firebug, the IE8 one is much improved and
  can be used for most IE7 work by switching modes.

A little confused : when you write the IE8 one, the one
that you have cited, at http://bit.ly/2MHgIY, specifically
states The Developer Toolbar is not compatible with Internet
Explorer 8.

Philip Taylor
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Question about standards compliant mode in IE

2010-03-23 Thread Tim Snadden

On 24/03/2010, at 7:00 AM, Philip TAYLOR wrote:



 Tim Snadden wrote:

 I'm talking about the Microsoft one (http://bit.ly/2MHgIY). While  
 it's
 still a pale imitation of Firebug, the IE8 one is much improved and
 can be used for most IE7 work by switching modes.

 A little confused : when you write the IE8 one, the one
 that you have cited, at http://bit.ly/2MHgIY, specifically
 states The Developer Toolbar is not compatible with Internet
 Explorer 8.

Sorry, my mistake. I don't run Windows normally and just did a quick  
search and didn't look properly. 
  
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Question about standards compliant mode in IE

2010-03-23 Thread Tim Snadden

On 24/03/2010, at 7:00 AM, Philip TAYLOR wrote:



 Tim Snadden wrote:

 I'm talking about the Microsoft one (http://bit.ly/2MHgIY). While  
 it's
 still a pale imitation of Firebug, the IE8 one is much improved and
 can be used for most IE7 work by switching modes.

 A little confused : when you write the IE8 one, the one
 that you have cited, at http://bit.ly/2MHgIY, specifically
 states The Developer Toolbar is not compatible with Internet
 Explorer 8.

 Philip Taylor

I believe that IE8 comes with 'developer tools' bundled but I can't  
remember for sure.

http://msdn.microsoft.com/en-us/library/dd565622%28VS.85%29.aspx


__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Question about standards compliant mode in IE

2010-03-21 Thread Tim Snadden

On 20/03/2010, at 7:42 PM, Claude Needham wrote:

 Does such a thing as a quirks detector exist?

If you use IE8 and the web developer toolbar there is an area on the  
top right of the bar that describes 'Document mode'. This shows what  
the default document mode is. You can also use it to switch modes.

You can also find out via javascript with document.compatMode

Cheers, Tim

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Question about standards compliant mode in IE

2010-03-21 Thread Claude Needham
Thanks for the suggestion. Much appreciated.

Is the web developer toolbar you are referencing the one from
http://www.my-debugbar.com

Or, would that be the F12 Developer Tools thing in the IE8?

Or, is there another developer tool for ie8 that you are referring to?

Normally I do all my development in Firefox, so any clues about
developer tools for IE would be most welcome.

Thanks,
Claude


On Sun, Mar 21, 2010 at 1:34 PM, Tim Snadden li...@snadden.com wrote:

 On 20/03/2010, at 7:42 PM, Claude Needham wrote:

 Does such a thing as a quirks detector exist?

 If you use IE8 and the web developer toolbar there is an area on the
 top right of the bar that describes 'Document mode'. This shows what
 the default document mode is. You can also use it to switch modes.

 You can also find out via javascript with document.compatMode

 Cheers, Tim

 __
 css-discuss [cs...@lists.css-discuss.org]
 http://www.css-discuss.org/mailman/listinfo/css-d
 List wiki/FAQ -- http://css-discuss.incutio.com/
 List policies -- http://css-discuss.org/policies.html
 Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Question about standards compliant mode in IE

2010-03-21 Thread Alan Gresley
Tim Snadden wrote:
 On 20/03/2010, at 7:42 PM, Claude Needham wrote:
 
 Does such a thing as a quirks detector exist?
 
 If you use IE8 and the web developer toolbar there is an area on the  
 top right of the bar that describes 'Document mode'. This shows what  
 the default document mode is. You can also use it to switch modes.
 
 You can also find out via javascript with document.compatMode
 
 Cheers, Tim


Thanks Tim,

A similar thing appears on the FF 'Web Developers Toolbar' [1] at the 
far right. It shows a green tick for 'standard compliant mode' and red 
cross for 'quirks mode'. I not sure what happens in 'almost standard 
mode'.


1. https://addons.mozilla.org/en-US/firefox/addon/60


-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Question about standards compliant mode in IE

2010-03-20 Thread Claude Needham
Rumor has it that by using the proper doctype it is possible to force
IE to operate in a standards compliant mode -- and thus avoid (in that
one situation at least) the quirks that one might otherwise confront.

I have two standard-ish header templates I'm working with. (i.e.
flailing in the dark).
4.01 strict and XHTML 1.0 Strict.

It annoys me that apparently I need to leave off the ?xml
version=1.0... thingy in order to prevent IE from going into quirks
mode. This means the page will not validate as xhtml. And I've heard
some folks suggest that delivering xml as text content is not a good
idea (sounds like a fight above my pay grade).

So because of this I am using the 4.01 strict. But I don't know if I'm
making a mistake or not.

In any case, the real question is: Is there a validator type page
that will tell me whether or not a particular url is definitely being
rendered in standards - mode or if it is in quirks mode. Basically
I'm looking for a quirks detector.

Does such a thing as a quirks detector exist?

Regards,
Claude

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
 http://www.w3.org/TR/html4/strict.dtd;
html
head
title/title
link rel=shortcut icon href=
meta name=DESCRIPTION http-equiv=DESCRIPTION content=
meta name=KEYWORDS http-equiv=KEYWORDS content=
meta http-equiv=Content-Type content=text/html; charset=utf-8 
link type=text/css href=main.css rel=stylesheet
/head


!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
title/title
link rel=shortcut icon href= /
meta name=DESCRIPTION http-equiv=DESCRIPTION content= /
meta name=KEYWORDS http-equiv=KEYWORDS content= /
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
link type=text/css href=main.css rel=stylesheet /
/head
?xml version=1.0 encoding=UTF-8 ? removed from its proper
position at top of file because of rumors that it will put some
version of IE into quirks mode.
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Question about standards compliant mode in IE

2010-03-20 Thread Philippe Wittenbergh

On Mar 20, 2010, at 3:42 PM, Claude Needham wrote:

 Rumor has it that by using the proper doctype it is possible to force
 IE to operate in a standards compliant mode -- and thus avoid (in that
 one situation at least) the quirks that one might otherwise confront.
 
 I have two standard-ish header templates I'm working with. (i.e.
 flailing in the dark).
 4.01 strict and XHTML 1.0 Strict.
 
 It annoys me that apparently I need to leave off the ?xml
 version=1.0... thingy in order to prevent IE from going into quirks
 mode.

Correct in that the xml prolog puts IE 6 (and IE 7, can't remember) in 
quirksmode. Incorrect in that omitting the xml prolog would invalidate your 
page.

 This means the page will not validate as xhtml. And I've heard
 some folks suggest that delivering xml as text content is not a good
 idea (sounds like a fight above my pay grade).

Indeed. but that is a completely off-topic discussion.

 So because of this I am using the 4.01 strict. But I don't know if I'm
 making a mistake or not.

No mistake as far as I can see. When I'm not using the html5 doctype: !doctype 
html, I use html 401.

 In any case, the real question is: Is there a validator type page
 that will tell me whether or not a particular url is definitely being
 rendered in standards - mode or if it is in quirks mode. Basically
 I'm looking for a quirks detector.

No validator will do that. The ultimate resource on doctypes is Henri Sivonen's 
page:
http://hsivonen.iki.fi/doctype/

 Does such a thing as a quirks detector exist?

There is a bookmarklet that does the job nicely:
http://dorward.me.uk/www/bookmarklets/qors/


Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/