在我的Mac上使用webkit浏览器(Safari和Chrome,当前版本)我无法设置输入元素的高度.
<input type="button" style="height:200px;" value="Hello World!">?
Run Code Online (Sandbox Code Playgroud)
不行.
jQuerys $('input').css('height','200px');?也不会工作.
尽管可以使用style-attribute或jQuery设置宽度.
这种不一致的原因是什么?什么是可能的解决方案?