Sent by Eric A. Meyer on 21 February 2002 16:04
At 16:12 -0500 2/21/02, Keith Higgs wrote:
>In Javascript, and in CSS a single line comment begins with "//"
That's incorrect-- CSS does not permit // as a comment form. Some
browsers will handle it as if it's legal, but it isn't. Javascript
does allow // comments, so far as I know.
>Likewise, you can have a multi-line comment (even if it really does
>only use one line) that starts with "/*" and ends with "*/"
Correct. In fact, that's the only valid way to write a comment in
CSS no matter how long or short it is.
--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
-- Martina Kosloff