I want to show some rating stars, which are aligned as repeated images with inline-block
as follows:
<span class="stars" style="width:20px; margin-top:15px;">
<span style="width:40px;"></span>
</span>
span.stars, span.stars span {
display: inline-block;
background: url(http://www.ulmanen.fi/stuff/stars.png) 0 0px repeat-x;
height: 16px;
}
https://jsfiddle.net/gwtd1rLc/1/
Problem: inline-block, thus the images are not shown properly.
Question: how could I refactor it so that it works in all/most browsers?