- From: John Smal <john@smal.org>
- Date: Mon, 27 Feb 2006 11:29:49 +0100
- To: www-validator-css@w3.org
Using the CSS-validator for the control of a style definition within a html page I received an error for the first definition I couldn't explain. The following definitions were validated well. Changing the order the first definition remains rejected. Then I tried to validate the example on http://www.w3.org/TR/CSS21/intro.html: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <HTML> <HEAD> <TITLE>Bach's home page</TITLE> <STYLE type="text/css"> h1 { color: red } </STYLE> </HEAD> <BODY> <H1>Bach's home page</H1> <P>Johann Sebastian Bach was a prolific composer. </BODY> </HTML> The result: Parse error - Unrecognized : <!DOCTYPE HTML PUBLIC "-//W3C// DTD HTML 4.0//EN"> <HTML> <HEAD> <TITLE>Bach's home page</TITLE> <STYLE type="text/css"> h1 { color: red } No Style Sheet found [sic!] It seems to me that the validator doesn't handle embedded style sheets well. Greetings from Holland, John Smal john@smal.org www.smal.org 06 51572415
Received on Monday, 27 February 2006 13:31:15 UTC