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

Re: CSS Attribute Proposal

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Sun, 22 Aug 2004 00:50:19 +1000
Message-ID: <4127612B.3040607@iinet.net.au>
To: dz@bitxtender.net
CC: www-style@w3.org

David Zülke wrote:
> What about multiple backgrounds btw? :)

You will, I believe, be able to use the ::outside pseudo-element [1] to 
do this and apply as many backgrounds as you need in an position.

eg.
p { background: transparent url(bg-img-01);
     background-position: top left;
     ...
}
p::outside { background: transparent url(bg-img-02);
              background-position: bottom right;
              ...
}
etc…

[1] http://www.w3.org/TR/css3-content/#wrapping
-- 
Lachlan Hunt

http://www.lachy.id.au/
lachlan.hunt@lachy.id.au
Received on Saturday, 21 August 2004 14:50:54 GMT

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