- From: David Dorward <david@dorward.me.uk>
- Date: Tue, 14 Sep 2004 08:13:47 +0100
- To: Anu Blom <anu.blom@myy.helia.fi>
- Cc: www-validator-css@w3.org
On Mon, Sep 13, 2004 at 11:06:24PM +0300, Anu Blom wrote: > I don't see why the CSS part of my test page (specified inside the head tag) > does not validate. I have pasted that part into the text box of the CSS Validator. > Parse error - Unrecognized: (style type="text/css") <!-- body (( alignment: > center; )) "<style type="text/css"><!--" is HTML, not CSS. When given an HTML document the CSS validator will extract the CSS from it, when given what it is told is CSS, it won't. > (this is displayed whether or not I have the actual specifications inside > comment tags) and after that I'm "encouraged to offer a generic family as a last > alternative." I know what that means, but unfortunately I have forgotten how to > specify more than one font-family. http://w3.org/TR/CSS2/fonts.html -- David Dorward http://dorward.me.uk
Received on Tuesday, 14 September 2004 07:13:51 UTC