javascript - Fixing off-center radio text -


enter image description here

i'm trying make survey webapp on heroku (javascript mostly) , off-center text on these radio buttons rather annoying. what's easy way center , slide off side little? formatting done css right now. how i'm formatting these radio inputs so....

.radio-input{     background: #d4e7ed;     padding:20px 10px; } 

you can use vertical-align: middle on label , radio button padding-top: 1% on label aligning text , radio button:

label {     vertical-align: middle;     padding-top: 1%; } .rdo{     vertical-align:middle; } 

demo


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -