Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Comments in CSS Code What is the CSS comment delimeter? IanTurner msg:1199485 3:16 pm on Nov 12, 2002 (gmt 0) I have now got an application which is being developed by more than one person and it would be nice to be able to put comments into the CSS file so that the CSS tags can be easily read and understood by more than one developer.
How is this done?
Longhaired Genius msg:1199486 3:21 pm on Nov 12, 2002 (gmt 0)
/* comment */ choster msg:1199487 3:24 pm on Nov 12, 2002 (gmt 0)
/* you can have multiple
line comments */
/* or single line comments */
IanTurner msg:1199488 4:22 pm on Nov 12, 2002 (gmt 0)
Many thanks andreasfriedrich msg:1199489 4:30 pm on Nov 12, 2002 (gmt 0)
Since we are not supposed to post code but to point people into the right direction so that all of us may have more fish for dinner... ;) I do realize that I left out certain steps in that reasoning and that my version is slightly crooked.
See the CSS2 spec: [