html - Setting jQuery Button Width input type="button" -


okay using jquery mobile in simple golf score card app. use code total @ end of form.

<input id="total" type="text" name="total" value="" readonly="readonly" />  <p><input type="button" value="=" onclick="total.value=gettotalb(this.form)" /> <p><input type="reset" onclick="reset()" value="-"/> </form> 

i need input type="button" , reset 10px. have tried style="width". not sure easiest way size these buttons is. help?

in simplest case, try:

input {     width: 10px; } 

or else add classes more specific.

demo fiddle: http://jsfiddle.net/audetwebdesign/jv8fv/


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -