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

Re: assigning multiple classes to achieve multiple backgrounds ?

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Tue, 07 Dec 2004 11:36:43 +0100
Message-ID: <41B587BB.3070808@annevankesteren.nl>
To: "Sander van Dragt" <svandragt@s82.nl>
CC: www-style@w3.org

Sander van Dragt wrote:
> I might be overlooking a obvious problem, but why does the background
> property need multiple image values when instead we can already
> assign multiple classes to a html tag?

The 'class' selector just selects a specific HTML element, if you select
it again with another class you just overwrite the previous assigned
background.

You don't select the class, you select an element in the end.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Tuesday, 7 December 2004 10:37:09 GMT

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