Comments in css

satya - 7/13/2013 2:02:24 PM

Comments in css

Comments in css

Search for: Comments in css

satya - 7/13/2013 2:04:02 PM

an example


<style>

/* css comments */

.someclass
{
 attribute1:value;
 a2:value;

/* More css comments */
 attribute1:value;
 a2:value;

}

/* More css comments */
</style>

satya - 7/13/2013 2:05:34 PM

So you don't want to do this


<style>
<!-- 
*************************************************
* Meant for primary banner 
*************************************************
-->
...
...
...
</style>

satya - 7/13/2013 2:07:16 PM

I like this format


<style>


/*
*************************************************
* Some explanation
*************************************************
*/



</style>