Bill Brown wrote:

> To be honest, I'm surprised it worked at all in the Transitional 
> doctype. I don't use the transitional model simply because I find it
> too unpredictable. You'll find others on here who use it exclusively.
>  Presumably because it creates results more in tune with /their/ 
> expectations. For me, I like my code to make sense when /I/ read it
> as well as when it's parsed or applied by a browser or operating
> system.

Makes sense, but you're confusing "Transitional" vs. "Strict" doctypes
with browsers' layout modes.

See "doctypes and layout modes...
<http://gutfeldt.ch/matthias/articles/doctypeswitch/table.html>
...and notice that there are only two modes - "quirk" and "standard".

This doctype (used by original poster)...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
...triggers *quirks mode*.

---

All "non-zero values" _must_ have a unit in both "Transitional" and
"Strict" "standard mode" - with the exception of "raw line-height", or
else the property/value will be ignored.

The interpretation of "non-zero values without units" as meaning "values
declared in pixels", is an old *quirks mode* feature and has absolutely
nothing to do with "Transitional" doctypes.

----

"Strict" _is_ "standard".
"Transitional" is a slightly less "strict" variant of "standard", where
a few non-standard elements are allowed.

Some browsers also treat "Transitional" slightly different on a few
points - an "almost standard" mode invented for/by Mozilla.

Note that IE/win doesn't have an "almost standard" mode at all - it's
either "standard" for both "Transitional" and "Strict" doctypes, or
"quirks" for "recognizable non-standard" doctypes.

"Unrecognized" doctypes with a minimal set of recognizable parts, shall
trigger "standard" layout mode in all browsers - which is why new
doctypes can be added and a simple <!DOCTYPE HTML> will trigger
"standard" mode. See 'HTML 5'...


regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to