Re: A very pedantic request

On Sun, Dec 11, 2005 at 10:29:29PM -0000, John Payne wrote:
>    I use the CSS validator a lot, and always use the XHTML validator
>    afterwards. However when adding the `css validated' link to my code, it
>    breaks the XHTML.

As has been mentioned many times previously on this mailing list:

* What is right for XHTML is wrong for HTML

* If you ask the CSS validator to validate the styles attached to an
  HTML document you will get HTML to display the icon.

* If you ask the CSS validator to validate the styles attached to an
  XHTML document you will get XHTML to display the icon.

* If you ask the CSS validator to validate a stylesheet directly you
  will get HTML to display the icon, which is a sensible default.

While it might make things easier for you if XHTML was the default, it
would be harder for other people.

-- 
David Dorward                                      http://dorward.me.uk

Received on Tuesday, 13 December 2005 09:24:48 UTC