I'm using wkhtmltopdf in a Rails app and trying to set a border by placing an image with just borders as the background-image for another. (I'm doing this because box-shadow is not working for wkhtmltopdf). This shows up fine in the HTML view, but in the pdf it doesn't work. My CSS is here:
.box{
background-image: url('/assets/posts/background_border.jpg');
background-repeat: no-repeat;
height: 100px;
width: 100px;
}
Please let me know how to solve this. Thanks!