Question about the Doctype needing to be on line 1 in the source..
With ASP, it is standard practice to set your @Language directive at
the top of the page. I believe this causes an empty line to be written
in the source. Since that is the first thing I usually do in a page,
will that still affect IE's Doctype switching?

On 6/13/05, Kelly Miller <[EMAIL PROTECTED]> wrote:
> If you put ANYTHING before the Doctype, IE6 will shift to quirks mode
> (page authors complain to Microsoft about this because the XML prolog,
> which is SUPPOSED to be first in XHTML, will put IE6 in quirks mode).
> 
> Don Hinshaw wrote:
> 
> > Al Sparber wrote:
> >
> >>
> >> I won't debate your personal preference versus mine - they both can
> >> achieve good results if handled properly. CSS expressions as
> >> advertised sometimes on this list lead to slutions that are not clear
> >> about quirks mode versus standards mode and can easily cause a
> >> recursive loop in IE 6 - freezing the browser.
> >>
> > I have a question about this: if using a DOCTYPE of:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> > "http://www.w3.org/TR/html4/loose.dtd";>
> >
> > Is there any way to put IE into quirks mode such that CSS expressions
> > can safely be used? Is it even necessary?
> > I am trying to implement a solution using them and do not want to
> > create more problems.
> >
> > Regards,
> > Don
> >
> >
> 
> 
> --
> http://www.mozilla.org/products/firefox/ - Get Firefox!
> http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox!
> 
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to