Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can you comment styles out in a CSS sheet?

0 views
Skip to first unread message

Dave

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
Simple question really... can you comment out sections of a css style sheet
so that the browser ignores them?

Samuli Lintula

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
In article <eVQIXa3XAHA.1352@tkmsftngp04>, Dave wrote:
>Simple question really... can you comment out sections of a css style sheet
>so that the browser ignores them?
>

/* this is a comment*/

/*
* This is a comment
* as well
*/

and so on... It's like Java.
Start comment: /*
End comment: */


--
Samuli Lintula
samuli....@utu.fi University of Turku
http://users.utu.fi/saklint Department of Biochemistry
----------------------------------------
1. Varavaltuutettu (vihr.) http://www.geocities.com/slintula/
Kulta ei ole arvokasta. Se vain maksaa paljon.

Dave

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
Thanks v much :)

"Samuli Lintula" <sak...@alya.utu.fi> wrote in message
news:slrn92scpc....@alya.utu.fi...

Steve Fulton

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
Why not use CSS comments?

/* This is a comment */

/* Comments can
span lines */

=-=-=
Steve
-=-=-

"Dave" <da...@linkg.co.uk> wrote in message
news:eVQIXa3XAHA.1352@tkmsftngp04...

0 new messages