Reputation: 15501
In my fiddle here, the %
symbol is currently in fixed position. How do I align it so that it floats accordingly if the number changes from one digit to two digit to three digit?
I tried:
.style("float", "left")
But it didnt work. What am I missing?
Upvotes: 0
Views: 64
Reputation: 3668
You can simply concatenate with the %
symbol and so it dances accordingly.
Upvotes: 2