Transitional means 'transitional'. It differs depending on the html version.
'4.01 Transitional' means 'contains all HTML elements and attributes,
including presentational and deprecated elements (like font). Framesets are
not allowed.'

But...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional// EN">

...will trigger quirks mode in newer browsers and older browsers just have
quirks anyway. Although not the same quirks as each other, of course.

Personally, I use

<!DOCTYPE Common PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' '
http://www.w3.org/TR/html4/loose.dtd'>

which will give you the 4.01 Transitional behaviour mentioned above in
almost all browsers - all the important ones, anyway.

HTH

Ian

http://examples.roughian.com


2009/6/20 Robert Lehr <[email protected]>

>
> FYI, there appears to be a discrepancy in the docs w/rt to the doc
> type specifying
> "Transitional" denotes "Standards" mode or "Quirks" mode.
>
> Which does it denote ?  Note the following from GWT docs.
>
> From http://code.google.com/webtoolkit/tutorials/1.6/create.html -
>
>        To provide better cross-browser compatibility, GWT sets the
> doctype declaration to HTML 4.01 Transitional. This sets the rendering
> engine to "Standards Mode". If you remove this line, the page will be
> rendered in "Quirks Mode", ...
>
> So - TRANSITIONAL denotes STANDARDS mode.
>
> From the comments in the "host page" auto-gen'ed by webAppCreator -
>
>        <!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.   -->
>
> Or - does TRANSITIONAL denote QUIRKS mode ?
>
> -robert
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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