Closed Thread Icon

Preserved Topic: Comments in CSS (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17832" title="Pages that link to Preserved Topic: Comments in CSS (Page 1 of 1)" rel="nofollow" >Preserved Topic: Comments in CSS <span class="small">(Page 1 of 1)</span>\

 
Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 08-17-2000 21:18

This is a really stupid question, but is there a proper way to comment out styles?

I'm developing a standard style sheet for our simpler sites and when it is used in certain ones, I just want to comment them out rather than deleting them. That way, they're still there if I decide to start using them later.


DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-17-2000 23:39

// I'm pretty sure it's just like Javascript with the ...
// two slashes and all.

Your pal, -doc-

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-18-2000 03:34

I'm not sure the slashes // are completely supported (or even in the standard); instead use the /* and */ around your comment. I'm positive those are supported.

Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 08-18-2000 18:54

I did try the // and it worked, but I wasn't sure if there was another "correct" way or not. I do think I saw the /* deal somewhere once--I'll give that a shot. Thanks, guys.


« BackwardsOnwards »

Show Forum Drop Down Menu