border-image now supported in all major browsers (2014-05-22)
Demo with a single border-left-image
Demo with different left and right images.
The demo now requires a minimum of Chrome 15, Safari 6, Firefox 15, IE 11, or Opera 15.
it is not possible to do this with separate image files, but you can slice one image left and right. See the border-image MDN page for some good examples or CSS Tricks for a full description of how other slicing options work.
Note. If you need earlier browser support, ask how the previous version of my answer really worked with Chrome 12, Safari 5.0.3, Firefox 4 and Opera 10, but I updated it now that new browsers support without CSS3 prefix.
Edit: Firefox now requires an additional property setting - border-style: solid (see CSS - the new Firefox release no longer shows Border-Image )
andyb
source share