- From: Michael Kefeder <kefeder@directanddigital.at>
- Date: Thu, 27 Sep 2001 14:44:55 +0200
- To: <www-validator-css@w3.org>
Hi
I read that comments are allowed within style sheets, using /* and */ - so i
want to ask you:
Why does the following code generate a parse error?
BODY {
padding-top : 0px; /* Opera 5 needs this */
padding-left : 0px;
margin-bottom : 0px;
margin-left : 0px;
margin-right : 0px;
margin-top : 0px;
color : Black;
background-color : Green;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10pt;
}
when i remove the comment the style validates! Is it a parser problem, or am
i not allowed to put comments within a tags definition?
Thanks in advance for any answer
Yours
michael kefeder
programmierung
----------------------------------------------------
direct & digital - werbeagentur für neue medien gmbh
stephansplatz 8a/23,
1010 wien
mobil 0676/84 32 90-87
www.directanddigital.at
Received on Thursday, 27 September 2001 08:38:42 UTC