Suggestion: use span instead of div

Jul 16, 2013 at 6:28 PM
This is a minor pinch point for me. I would like to use rateit inside a span, however a div inside of a span is not technically valid. I know I could change my markup out for div's, and I probably will. However I just wanted to suggest that a future release might use a more flexible markup like a span rather than a div. In the long run it would achieve the same effect but would not suffer from this small shortcoming.

Jul 19, 2013 at 3:58 AM
You are right. Perhaps in the next update I'll make it configurable. I don't want to break current setups that perhaps use div in their style selection.
Jul 19, 2013 at 3:30 PM
That would be awesome. Thanks for listening. Hope to see it come to fruition.
Aug 3, 2013 at 3:58 PM

Just updated RateIt. Now you can use a span element, and RateIt will render all the necessary elements as span's

So instead of
<div class="rateit"></div>
<span class="rateit">/span>
Aug 3, 2013 at 5:02 PM
Awesome news! I will update my code to reflect these changes. Thanks for updating this.