Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Annotating CSS 2

Status
Not open for further replies.

starfishh

Programmer
Mar 23, 2001
20
GB
Hi all,

My question is a simple one. How can i leave myself notes on .css stylesheet.

When I am using HTML I can annotate the code by enclosing comments within <!-- & -->. And when I am using Javascript I can do the same using /* & */ or //.

How can I do this on a .css file.

For example I would like to give styles to heading tags say h1 to h5 for different levels of heading. In the stylesheet I would like to label these

e.g

h2{font-family:monaco} <!--Sub-Heading-->

If I do it like this the styles are not applied.

Thanx

Starfishh

Is there any way I can leave notes on the stylesheet?
 
Yes there is a way... you can do it the same way you do in JavaScript and C /* ur comments */


Have a good one

The Learner
 
Cheers guys,

guess i should have tried that...

thanx tho

starfishh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top