That should work. I believe the problem is with the img tag, which is used without the src attribute. In this case, we can just use the div tag.
I ran into this problem earlier on SO, I don't remember the link to this question.
1) Make your height and width equal to 0.
2) Indicate the appropriate addition according to the size of the image. (i.e. filling: width / height 2px / width 2px / height 2px / 2px)
In short, your left and right padding should add up to the width image. ALSO your top and bottom padding should add up to the height image.
img { background: url(http://i.stack.imgur.com/8C4wK.png) no-repeat; font-size:0; width:0px; height:0px; padding:36px 99px 36px 99px; border-style:none; }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"/> <img />
source share