W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 1997

Id and style

From: Claus Poertner <Claus.Poertner@econ.ku.dk>
Date: Fri, 22 Aug 1997 15:57:57 +0200
Message-ID: <c=DK%a=_%p=SamfJur%l=IBTMAIL1-970822135757Z-19207@ibtmail1.ibt.ku.dk>
To: "'www-html-editor@w3.org'" <www-html-editor@w3.org>


it is mentioned that "to limit the scope of the style information to a
single instance...,set the id attribute". I have tried the examples
provided and neither seems to work with Navigator 4.02 or Explorer 3.02.
As far as I understand the section on id, the point is to provide a
unique name for a part of a document, as in the example given in


where both class and id is used in <pre ...> and in


where they are used in <div ...>.

I find it a bit peculiar why one would want to limit the occurence of a
style element to just one instance. It would be just as easy to call
class the one time where the style element is needed and use id to refer
to that part of the document.

Yours sincerely,

Claus Pörtner

Claus Chr. Pörtner
Institute of Economics, University of Copenhagen
Studiestræde 6, DK-1455 Copenhagen K
Telephone: +45 35 32 30 84, Fax: +45 35 32 30 64
Home Page: http://www.econ.ku.dk/personal/poertner
Received on Friday, 22 August 1997 09:58:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:19 UTC