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.


-----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!
Received on Saturday, 9 May 1998 14:40:09 UTC

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