css - jQm Programmatically Adjust Form Radio Button Display -


i have horizontally aligned field set radio buttons, , while buttons display 'just right' on iphone in sense it's on same line without breaking, i'm worried on size display wrap buttons , terrible.

is there simple way accomplish programmatically , either change padding, font-size, etc. force onto same line without truncating? hack place using window size , bunch of math wondering if there's more 'appropriate' method of doing it.

in end removed left , right padding each button in css, set control group 100% width!important, forced width of each button percentage in javascript. example: 4 items: 25% width, 3 items: 33%.


Comments

Popular posts from this blog

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

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

keyboard - Smiles and long press feature in Android -