Although it seems simple, I'm struggling to figure out what the issue might be.
I am attempting to create a div with a specific border on an ASP.Net webpage.
CSS:
.ResourcesDiv
{
border-image:url(http://blogrope.com/wp-content/uploads/2013/06/003-wood-melamine-subttle-pattern-background-pat.jpg) 30 30 stretch;
border: 15px solid transparent;
width: 300px;
padding: 10px 20px;
margin: 50px;
}
HTML/ASP:
<div id="Resources" class="ResourcesDiv">
In the future, this will display the amount of herbs the user has.<br />
In the future, this will display the amount of gems the user has.<br />
</div>
EDIT: When I remove the transparent
part of the border, it displays a black border but not the image. However, I have double-checked the URL and it appears to be correct.