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

Multiple background images

From: Horvath Janos <hojan@freemail.hu>
Date: Sun, 31 Oct 2004 01:28:47 -0700
To: www-style@w3.org
Message-Id: <200410310128.47885.hojan@freemail.hu>


Hello!

Some ideas about this topic:

 http://ln.hixie.ch/?start=1098915335&order=-1&count=1
this is the best from the three.
body { background: url(foo), url(bar); }

The "|" and "AND" characters have some logical meenings too.

| = OR

and = AND

Some would like to set different repeat, position settings for the two
different image.
background: url(foo) top left no-repeat; url(bar);

We cluld use some zindex properties?
background: url(foo) zindex(bottom); url(bar) zindex(top);
or:
background: url(foo) zindex(1) ; url(bar) zindex(2);

To be able to override settings: property-attribute-selector:

body {
background[zindex=1]: url(foo) repeat-y;
background[zindex=2]:url(bar) bottom right no-repeat;
}

Greetings:
Janos

------------------------------------
http://www.hszk.bme.hu/~hj130/
Received on Sunday, 31 October 2004 08:29:42 GMT

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