ff,chrome,safari下面可以用圆角边框来实现,IE下面还是用背景比较好
- input {
- height:18px;
- inline-height:18px;
- font-size:11px;
- width:70px;
- text-align:center;
- border:#ccc 1px solid;
- border-radius: 5px; /* css 3标准 */
- -moz-border-radius: 5px; /* mozilla */
- -webkit-border-radius: 5px; /* webkit */
- }