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
Post a Comment