I use jquery mobile to create my buttons, and I have the CSS code below to change its design, but no matter what value I put in width and height, the button size does not change, but it relatively depends on the font size of the label. How can I change this to resize the button regardless of the font size of the tag?
$("#ui-1").css({'position':'absolute','left':'27.0px','top':'51.0px','width':'120.0px','height':'30.0px',}); $("#ui-1 .ui-btn-text").css({'font-family':'"Calibri","Arial","Sans Serif"','font-size':'0.75em','color':'black','text-align':'left','wordwrap':'normal','text-shadow':'1px 1px 1px #FFFFFF'});
source share