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>


Some ideas about this topic:

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);
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;


Received on Sunday, 31 October 2004 08:29:42 UTC

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