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!
http://www.bahnhof.se/~chimbis/tocb/
Received on Saturday, 9 May 1998 14:30:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:55 GMT