Forum Moderators: not2easy
May i suggest you do it this way...
create a div with a background image (the one you want as a border, making sure that the edges of the image are what you want to be viewable)
create another div with a higher z-index on top of that div, and color it with, say, the same background color as the rest of your page, but make its size and orientation so that it shows the underlying div on all four sides.
.borderimage {
position: absolute;
top: 0;
left: 0;
width: 400px;
height: 100px;
background-image: url(image.jpg);
}
.contentarea {
position: absolute;
top: 10;
left: 10;
width: 380px;
height: 80px;
background-color: white;
z-index: 99;
}