css - How to set the height of an button (input-element) on webkit browsers? -
on mac webkit-browsers (safari , chrome, current version) can't set height of input-element.
<input type="button" style="height:200px;" value="hello world!">
won't work.
jquerys $('input').css('height','200px');
won't work either.
though setting width possible, either style-attribute or jquery.
what reason inconsistency? , possible solution?
display inline-block nothing, inputs have display set default. add border:none
. when so, starts behaving want to. here's fiddle -> http://jsfiddle.net/joplomacedo/xms6m/1/
Comments
Post a Comment