Hi Chris,

you better use the strict mode:
!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd";>

That would benefit since new GWT layout panels are optimized for the strict
mode.

Sincerely,
Alex

On Fri, Feb 19, 2010 at 3:28 PM, Chris Lercher <[email protected]>wrote:

> Hi,
>
> I just had a look at a html page generated by GWT 1.7, and was
> wondering about this:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <!-- The HTML 4.01 Transitional DOCTYPE declaration-->
> <!-- above set at the top of the file will set     -->
> <!-- the browser's rendering engine into           -->
> <!-- "Quirks Mode". Replacing this declaration     -->
> <!-- with a "Standards Mode" doctype is supported, -->
> <!-- but may lead to some differences in layout.   -->
>
> GWT 1.7 was made for quirks mode, as far as I remember. But HTML 4.01
> Transitional isn't quirks mode. For all I know, this is called "Almost
> Standards mode", which is very close to "Standards mode", except
> mainly for images.
>
> See http://hsivonen.iki.fi/doctype/  (Section "Choosing a Doctype")
> and http://www.quirksmode.org/css/quirksmode.html
>
> So I wonder: Is this incorrect in the generated HTML page, or are the
> GWT docs actually always talking about "Almost Standards mode", when
> they say, that certain things before GWT 2.0 were designed for "Quirks
> mode"? Or maybe the information in my links is wrong?
>
> Chris
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to