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

 
Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

posted posted 06-26-2002 17:53

Whats the characters used to begin a comment line in CSS?

Karl

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 06-26-2002 18:47

/* comment block */

rtfm

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 06-26-2002 19:04

(Note that the typical // won't work. You *must* use an opening and a closing delimiter.)

(Is "delimiter" the right word there? hmm...)

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 06-26-2002 19:40

You can do it 2 ways.

Single Line: //Coment
Multi-Line: /* Comment
comment
comment
comment
*/

Have to close it on the multi-line comment.

Later,
C:\


~Binary is best~

Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

posted posted 06-26-2002 19:43

Thanks a bunch : )

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 06-26-2002 20:47

No, CPrompt, you can only do it the multi-line way, as I said. Check the link DL gave.

Then again, I wouldn't be surprised if some browsers allowed the single line method, since that's used in so many other programming languages, but they *shouldn't* allow it.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 06-26-2002 20:55

That's strange Slime. I use the single line method all the time. Never has caused a problem for me yet. Wonder why. I've tested my pages on NN, IE and Opera on Win and Mac OS.

Hmmmm. . .

Later,
C:\


~Binary is best~

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 06-26-2002 21:05

Really? Strange, maybe I'm wrong. Hmm... why don't you check such a page with the W3C CSS validator and see what happens?



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu