W3C home > Mailing lists > Public > www-style@w3.org > October 2000

RE: I would love...

From: Ian Brockbank <i.brockbank@indigovision.com>
Date: Mon, 16 Oct 2000 07:02:17 -0400 (EDT)
Message-ID: <c=US%a=_%p=Indigo_Active_Vi%l=CRIANLARICH-001016105808Z-2130@crianlarich.indigo-avs.com>
To: "'www-style@w3.org'" <www-style@w3.org>
Andy <lordpixel@mac.com> wrote

> I'd like this stuff so I could do edge effects in
> css by doing something like
> 
> 
> .edge {
> 	background-image: url("edge.png");
> 	background-repeat: repeat-left repeat-up;
> 	background-position: bottom right;
> }
> 
> 
> Is there any way to place a background image at each of the 4 corners of
> an element at the moment... or more to the point, support for more than one
> background image positioned within a single element.
> 
> Seems we're missing a class of fairly common effects if not.

How about treating the problem directly.  Something like:

.edge
{
    border-image: url("edge.png");
    border-repeat: repeat-x repeat-y;
    border-corner: url("topleft.png") url("topright.png")
url("bottomleft.png") url("bottomright.png");
}

Allowing border-(image/repeat)-(top/bottom/left/right), as well.

Ian 
--
IndigoVision Ltd                 http://www.indigovision.com/
The Edinburgh Technopole,  Bush  Loan,  Edinburgh,  EH26  0PJ
Tel: [+44] (0)131 475 7200         Fax: [+44] (0)131 475 7201
Personal: ian@scottishdance.net  http://www.scottishdance.net
        Feed the world: http://www.thehungersite.com/
Received on Monday, 16 October 2000 07:33:27 GMT

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