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

Re: Please explain why we need multiple background images

From: Brian Sexton <discussion-w3c@ididnotoptin.com>
Date: Sun, 14 Nov 2004 12:36:06 -0800
Message-ID: <001701c4ca89$9175c000$651aa143@desktop>
To: "Anne van Kesteren" <fora@annevankesteren.nl>
Cc: "www-style" <www-style@w3.org>

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 GMT

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