最近使用jquery_ui 的datepicker控件时发现设置buttonimage后,图标总是与输入框对不齐,非常难看,经过搜索可以在网页中增加
<style>
.ui-datepicker-trigger {
margin-bottom:-5px;
}
</style>
即可对齐,或者将上述代码添加到jquery-ui-1.10.3.custom.css中同样有效。
最近使用jquery_ui 的datepicker控件时发现设置buttonimage后,图标总是与输入框对不齐,非常难看,经过搜索可以在网页中增加
<style>
.ui-datepicker-trigger {
margin-bottom:-5px;
}
</style>
即可对齐,或者将上述代码添加到jquery-ui-1.10.3.custom.css中同样有效。