无法增加按钮的高度。默认情况下,它以计算样式显示为 18px。改变宽度工作正常。我应用margin-left,top的所有其他样式也可以,但为什么不是Height?
   <input name="cancel" id="cancel" type="button" value="Cancel">
css
input#cancel {
   margin-top: 30px;
   margin-left: 48px;
   width: 70px;
   height: 24px!important;
}
我也试着像这样给出 id 的高度
   #cancel {
       height:24px;
   }
让我知道您是否需要在浏览器中显示的计算样式。请帮忙