【发布时间】:2012-08-08 19:22:41
【问题描述】:
我在 Firefox 中遇到了选择框标题的垂直对齐问题。
用于选择的 CSS 如下所示:
select#cities_list {
width: 95px;
height: 45px;
line-height: 45px;
background: url('./img/select-arrow.png') no-repeat right transparent;
-webkit-appearance: none;
border: 1px solid #dcdcdc;
border-left: none;
border-right: none;
padding: 0 10px;
margin: 0;
float: left;
}
在 Chrome 中一切看起来都很好:
救命!
【问题讨论】:
-
嗨,forkie,您解决了这个问题吗?如果是,那么请帮助我..!!
标签: firefox select vertical-alignment css