I don't know of a way to make a border out of an image, but you can fake it w/ nested divs, the outer one w/ the background image and the inner one w/ a solid background color and a wee bit smaller.
CSS:
Code:#div1{
width: 250;
background: url(image.gif);
}
#div2{
width: 240;
position: relative;
margin: auto auto;
}
HTML Code:<div id="div1">
<div id="div2">all the cool stuff you want to tell people</div>
</div>