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

Re: Giving a class the same values as another class

From: <pdf@bizfon.com>
Date: Tue, 25 Jul 2000 16:43:14 -0400
To: Chris Lilley <chris@w3.org>
cc: www-style@w3.org
Message-ID: <85256927.0071D307.00@Enterprise>


Excellent!  That was exactly what I wanted to know.  Do you know if there are
any UA limitations to this implementation (for example, will this method work
properly in both IE and Netscape)?  Also, do you know where I could find this in
the CSS specs?
Thanks alot!
Pete





Chris Lilley <chris@w3.org> on 07/25/2000 04:22:30 PM

To:   Peter Foti@pctco.com
cc:   www-style@w3.org

Subject:  Re: Giving a class the same values as another class





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:43:35 GMT

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