W3C home > Mailing lists > Public > www-style@w3.org > July 2000

Re: Giving a class the same values as another class

From: Chris Lilley <chris@w3.org>
Date: Tue, 25 Jul 2000 22:22:30 +0200
Message-ID: <397DF706.3495F911@w3.org>
To: pdf@bizfon.com
CC: www-style@w3.org


pdf@bizfon.com wrote:
>  There are certain site wide properties
> that I may assign through a class (for example, if I want certain items
> throughout the site to use a particular font).  But there are also properties
> that are specific to that page that I don't want to be given to the entire site.
> Those properties would be defined in a class that was local to that page only.
> You can't declare something as having multiple classes (not that I know of
> anyway),

Yes, you can. The class attrribute takes a space separated list of class
names. The class attribute is a general way of describing set membership of
an element. Elements can be in multiple sets.

--
Chris
Received on Tuesday, 25 July 2000 16:22:42 GMT

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