html - CSS: Centering text under a d3 slider on browser resize -



html - CSS: Centering text under a d3 slider on browser resize -

i can't seem center "delta value: [weight-threshold]" correctly underneath d3 slider on browser re-size. both "delta value" , output "weight-threshold" remain on same line. output number value "0.0006126." i've linked jsfiddle viewing.

#subtext, #weight-threshold { text-align: center; font-size: 13px; } #deltval { padding-top: 7.5px; position:fixed; margin-right:40%; margin-left:40%; }

any help appreciated. give thanks you!

http://jsfiddle.net/y3v9h/

correct:

#subtext, #weight-threshold { font-size: 13px; } #deltval { text-align:center; padding-top: 7.5px; }

remove:

position:fixed; margin-right:40%; margin-left:40%;

http://jsfiddle.net/cvr2u/

html css d3.js

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -