The journal of Paul M. Watson.

Thursday, February 02, 2006

Comment

I truly wish that CSS had a single-line comment sequence. Every other language I know does but good old CSS doesn't, as far as I know.

e.g.
div#header
{
background-color: #000;
/* background-image: url(/images/backgrounds/header.png); */
background-repeat: repeat-x;
height: 50px;
}


That is how you comment in CSS, /* at the begining of the comment block and */ at the end. // sadly doesn't work.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home