Re: assigning multiple classes to achieve multiple backgrounds ?

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 UTC