I'm using the CSS3 border-image property to images that will be of various sizes. I'm using in-line css for the time being.
I want to make it so that the border-image has priority over the main image, so that if the image is slightly bigger than anticipated, the frame appears in front of the image.
Below is my code:
<img alt="Thumb_img_0129" src="/thumb_IMG_0129.jpg"
style='border-width:15px; padding:10px 10px;
-moz-border-image:url("/images/fancy-frame.jpg") 30 30 stretch;
-webkit-border-image:url("/images/fancy-frame.jpg") 30 30 stretch;
-o-border-image:url("/images/fancy-frame.jpg") 30 30 stretch;
border-image:url("/images/fancy-frame.jpg") 30 30 stretch;' />
I know it's a bit clunky being in-line css...but have it this way for the time being...
Thank you!