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.

enter image description here

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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -