W3C home > Mailing lists > Public > www-style@w3.org > December 1995

Re: draft-ietf-html-style-00.txt & class as a general selector

From: Benjamin C. W. Sittler <bsittler@prism.nmt.edu>
Date: Fri, 8 Dec 1995 14:28:43 -0700 (MST)
To: www-style@www10.w3.org
Message-Id: <Pine.SUN.3.91.951208142523.2408C-100000@dunn>
On Fri, 8 Dec 1995, Bert Bos wrote:

... (excellent description of why CSS1 is the way it is omitted.)

> For addressing ID's we have a similar shortcut, though this one
> actually needs some help from the SGML parser, since the formatter
> doesn't know the DTD. Assuming attribute NAME is declared as an ID in
> the DTD, you can do:
>    1.  [NAME = "p004"]    } equivalent, but only 2 is in CSS1
>    2.  "p004"             }
> Note that (1) doesn't need support from the SGML parser, while (2)
> does. Again, we could have used Chris's `#' instead of quotes, but I
> think the `#' would scare non-programmers.

I disagree. Anyone familiar with URLs will immediately understand the #,
since it is used to refer to a NAMEd (or HTML3 IDd) element in an A HREF.

Benjamin C. W. Sittler
Received on Friday, 8 December 1995 16:31:14 UTC

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