javascript - Trying to centralise a div inside another which is dynamic using JS -
http://jsfiddle.net/dad4avvj/1/
everytime try align doing inline-block
, text-align:center
throws numbers class out of position , looks wrong.
these circles animated fill on course of few seconds. need add text under each 1 , equally pad them out within container. problem on site wish implement it, has max-width of 900px;
how can centralise without messing rest of text?
give text-align: left;
.numbers
, text-align:center;
.bar
, remove float:left
.radial-progress
solved issue.
.numbers { text-align: left; }
check fiddle here.
hope helps.
Comments
Post a Comment