View Full Version : Custom Borders

09-19-2007, 06:11 AM
Hello Everyone,
I was wondering if it was possible to create a custom border. I want to place text inside a div tag and give the div tag a style that uses an image as the border. Either a repeating image or just one images streched to make the entire border is fine.
Instead of just lines/dashes/dots that are the default choices for a border. Ss that possible? Any help would be greatly appreciated. Thank you very much!

09-19-2007, 06:27 AM
Well, the method is in CSS3 (http://www.w3.org/TR/css3-border/#the-border-image), unfortunately we have to wait a little more since no browser is supporting it now!

09-19-2007, 07:33 AM
Though with some creativity you can accomplish something similar to what you want. I've actually coded something similar for someone a while back, unfortunately they never returned. Hopefully you will and get some use out of it.


09-19-2007, 07:33 AM
Possibly by the time everyone is using either Firefox 4 or Internet Explorer 12 you will be able to do that.