1、设置padding ,margin等,但在ie下对这两个样式大小的解释版本不同也不同,非常头疼
2、设置
display: block;
line-height: 35px;
vertical-align: middle;
3、
display: table-cell;
vertical-align: middle;
4、postion:realative
top:2px;*top:4px;
1、设置padding ,margin等,但在ie下对这两个样式大小的解释版本不同也不同,非常头疼
2、设置
display: block;
line-height: 35px;
vertical-align: middle;
3、
display: table-cell;
vertical-align: middle;
4、postion:realative
top:2px;*top:4px;