Re: Multiple Background Images

> > 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
good.
That would've been an inappropriate use of CSS.

Similarly, I believe multiple backgrounds are inappropriate for borders as
being
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
straightforward
and consistent way.  For corners, "border-top-right: url(tr.png)" seems
appropriate.

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

_-T

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