homepage Welcome to WebmasterWorld Guest from 54.166.116.36
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Comments in CSS Code
What is the CSS comment delimeter?
IanTurner

WebmasterWorld Administrator ianturner us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 388 posted 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

10+ Year Member



 
Msg#: 388 posted 3:21 pm on Nov 12, 2002 (gmt 0)

/* comment */

choster

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 388 posted 3:24 pm on Nov 12, 2002 (gmt 0)

Use slash-asterisk.

/* you can have multiple
line comments */

/* or single line comments */

IanTurner

WebmasterWorld Administrator ianturner us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 388 posted 4:22 pm on Nov 12, 2002 (gmt 0)

Many thanks

andreasfriedrich

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 388 posted 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: [w3.org...]

Andreas

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved