Click to See Complete Forum and Search --> : border image?


swofford
05-03-2006, 10:07 AM
Is there a way to specify an image to use as a border? Rather than:

border-left: 20px solid #000000

could I do something like:

border-left: 20px solid url(images/border.gif)
or just border-left: url(images/border.gif)

?

(Well I did try that and know that it doesn't work.)

When I googled, I found roughly one reference for border-left-image at http://www.w3.org/TR/2002/WD-css3-border-20021107/, but it didn't work for me and I'm not finding that it's actually used anywhere.

Are there other easy ways you would recommend to do something like this? I have the site all set up without a border, and now the client wants a border along the left that has a repeating image, and of course the easiest thing would be to just add that border in the left section, if that were an option. :) Thanks in advance!

Fang
05-03-2006, 10:41 AM
border-image has not been implemented by any browser.
Use a repeating background image.