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

Re: Class and ID

From: gordon <gordon@quartz.gly.fsu.edu>
Date: Sat, 9 May 1998 11:38:34 -0700
Message-ID: <00b301bd7b79$ae365ee0$02c22599@ht-server.0.0.1>
To: "Martin Skj÷ldebrand" <chimbis@bahnhof.se>, <www-style@w3.org>
Hi Martin,

As I understand it, a class may be used throughout a given document.  The
#id selector, however, is targeted at one specific [HTML] element.

later,
gordon

-----Original Message-----
From: Martin Skj÷ldebrand <chimbis@bahnhof.se>
To: www-style@w3.org <www-style@w3.org>
Date: Saturday, May 09, 1998 11:31 AM
Subject: Class and ID


>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:40:09 GMT

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