User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.
Skip to: content, navigation
There are no comments yet.
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.
Best Seller!
You don’t need to go to Art School to design great looking web sites!
The contents of this webpage are copyright © 1998-2008 SitePoint Pty. Ltd. All Rights Reserved.
Web Design & Development by SitePoint, Melbourne, Australia – Logo Design, Web page Design – 99designs.com

CSS Comments
In CSS, a comment starts with /* and ends with */. Comments can span multiple lines, but may not be nested:
According to the CSS2 specification, comments that appear between tokens won’t have any effect on the styles’ rendering. In practice, however, we find comments causing errors in some older browsers in certain situations.
The // comment syntax used in C++ is not allowed. Neither are SGML comments that take the form <!-- … -->, except in one situation: they may appear in internal style sheets—style sheets placed within the HTML source using the
<style>tag—in order to hide the CSS statements from pre-HTML4 user agents. However, this use of comments is now redundant and can be disregarded. See Linking CSS to a Web Document for further information.