I’m looking for the best way to create a custom border around an HTML panel. I have a set of images for the sides, corners etc.
I need a good way to place them and stretch the sides dynamically to match the panel size.
If there is a jQuery plugin to do this I would prefer using it.
UPDATE: My main target platform is IE7. So it has to work on it 🙁
You can do it like this: (Except in IE6)
HTML:
Inside the box, which must have a
positionofrelativeor higherCSS: