Am using a JavaScript plugin to apply rating stars for a review. This [fiddle] has most of the code. The stars come in the place of the dropdown (the external resource isn't loading to show this in the fiddle). The stars are showing fine on the localhost, but I wanted to position the stars to appear somewhere in the middle (or maybe over the image itself, wherever).
To this effect, i'm making use of:
$(function() {
var _elm=document.getElementById('example2');
_elm.style.marginLeft = "150px";
$('#example2').barrating({
theme: 'fontawesome-stars',
readonly: true,
initialRating: 3
});
});
But the stars do not change their position. How do I position the stars then? For completion, there are no console errors.