Davoud Tohidy wrote: > @George: > > I understand your points very well. > > > Again: doctypes and doctype-switching should *not* have anything to do > > with how CSS should be interpreted, but the fact that it does affect CSS > > is the only reason I'm responding on-list. > > That is exactly what I am reffering to George. Doctype affects CSS. > And using CSS you change the presentation of a web page.
No, different Doctypes if needed will render the same CSS differently and Yes, this will change the presentation of a web page [1]. This link has such a table. > Now from here I would like to point out an important issue. There has > been some people on the internet claiming that Doctype is only for > "VALIDATION" purposes. I believe they are just joking and that > they do not see the big picture. They are also very handy to keep the various browsers from going into quirks mode at this moment in time. Doctypes were meant at first to be a transitional measure and should have disappeared over time, but now they are necessary for the next few years at least since legacy content (non-standard code) appears across the Interent and not all browsers are xml compatible (see below point). For browsers like Gecko, Opera and Safari these non-standard modes become more standard over time. A bit like a dog chasing it's tail. > regards, > davoud BTW, Doctypes can be used in a somewhat improper manner. If a xml prolog appears. <?xml version="1.0" encoding="utf-8"?> and a document is saved with a ".html" or ".htm" extension then a strict unknown Doctype such as "XHTML 8.0" will show a page in standard mode in most browsers (Yes, they will be valid by the HTML validator). Possibly even IE8 will render in standard mode without any funky meta. I will not endorse this practice. ;-) If a page includes an xml prolog and is saved as a true xml document with a ".xml" extension, then no Doctype is needed at all. 1. <http://www.quirksmode.org/css/quirksmode.html> Alan http://css-class.com/ ______________________________________________________________________ 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/
