CSS Property:
border-image-outset:

Note:Internet Explorer 10, Opera 12, and Safari 5 do not support the border-image-outset property.

Result:
This DIV element uses an image as a border.
CSS Code:
div#main
{
background-color:lightgrey;
border:30px solid transparent;
border-image: url('border.png');
border-image-slice: 30 30 30 30;
border-image-width: 1 1 1 1;
border-image-outset: 2px;
border-image-repeat: round;
}
Click the property values above to see the result
W3Schools.com - Play it