Change font size of a jQuery Mobile button at runtime
问题 jQuery Mobile 1.1.1 changes how buttons are formed. Previously, I could set the font size of buttons like this: <div id="Button1" data-role='button' data-inline=true data-theme=c data-icon=false data-iconpos=none style="font-size:12px;">Button</div> The font size attribute is being ignored in 1.1.1. It draws with the default font size (16px?). I can change the font size by adding this line of code: $('#Button1').children().children().css('font-size','12px'); But now the vertical alignment of