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

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

  Anne van Kesteren
Received on Tuesday, 7 December 2004 10:37:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC