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

Re: Multiple Background Images

From: Ted Shaneyfelt <tvs@hawaii.edu>
Date: Sun, 28 Nov 2004 15:12:18 -1000
To: www-style@w3.org
Message-id: <002101c4d5b0$7a0b5560$6401a8c0@maunakea>

> > Maybe we should be trying to address a more general need:
> > Allow multiple elements to occupy the same space, one rendered
> > over the top of the previous elements that share that space.
> That's very different problem.  Background images should not be used for
> real content, whereas every element that is overlaid should be real
> content.

I'd've used XSLT and still kept the content separate, but your point is
That would've been an inappropriate use of CSS.

Similarly, I believe multiple backgrounds are inappropriate for borders as
discussed.  We should be talking about border and padding properties
instead of multiple background images to achieve this effect.

Today, we can say "border-left: red", so it makes sense to be able to say
"border-left: url(left.png)" to achieve the same effect in a much more
and consistent way.  For corners, "border-top-right: url(tr.png)" seems

Of course, if we're going down that road, we might consider allowing images
texture wherever color can be used (including text).

Received on Monday, 29 November 2004 01:06:08 UTC

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