Re: Please explain why we need multiple background images

Anne,

> The only reason I can see is for the "borders" of an area. However, we
> could use 'border-image' or a similar property to do that.

> You could also use '::before' and '::after', though some W3C Members
> think you are abusing the selectors if you use them for a top and bottom
> background image.

> I don't really see a reason to introduce this new feature.

Multiple border images would be nice--that would make it easier to have
fluid widths with custom border images--but another advantage could be
corners.  For example, it would be nice to be able to have a style
definition that adds rounded corner images to text box backgrounds; that
seems to me like it would be a better use of CSS than tacking on
rounded-corner strip graphics before and after text boxes, which could
result in the appearance of different text box padding when some browsers do
not support ::before and ::after (the top and bottom padding would be less
than actually desired to make up for the image heights).


Kind regards,

Brian Sexton

Received on Sunday, 14 November 2004 20:36:03 UTC