W3C home > Mailing lists > Public > www-style@w3.org > May 1998

Class and ID

From: Martin Skj÷ldebrand <chimbis@bahnhof.se>
Date: Fri, 08 May 1998 18:29:33 GMT
To: www-style@w3.org
Message-ID: <35534e4f.84703@mail.bahnhof.se>
I've been reading the book on Cascading Style Sheets by Lie and Bos.
Could someone please explain the difference between .class and #id,
and give an example of when one would like to use one instead of the
other? Perhaps I'm a bit thick but I don't really get the difference.

Martin S.
Martin Skj÷ldebrand
System administrator and archaeologist!
Received on Saturday, 9 May 1998 14:30:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:47 UTC