|
Posted by nice.guy.nige on 10/21/07 00:27
While the city slept, Robert Baer (robertbaer@localnet.com) feverishly
typed...
[css comments vs html comments]
> I had no idea that comments are done differently in different areas
> like this.
> I suppose that there may be hundreds of different areas, each with
> their own quirks and zero standardization.
No, there are standards. You can find them for both HTML and CSS at
http://www.w3.org
The fun thing with CSS comments is that they use the standard C comment
separators of /* ... */, which lulls you into a false sense of security,
what with C++, Java, PHP etc also using the // comment identifier, but CSS
doesn't go with that idea. Maybe it was just me who fell for that one...
Cheers,
Nige
--
Nigel Moss http://www.nigenet.org.uk
Mail address will bounce. nigel@DOG.nigenet.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"
Navigation:
[Reply to this message]
|