【发布时间】:2011-11-30 17:53:19
【问题描述】:
我有一个带有css的简单表单,并且有一个具有这种样式的选择:
.mysub_item select {
height: 29px;
width: 142px;
background: url("/images/input-background.png") no-repeat scroll 0 4px transparent;
border: 0;
font-size: 12px;
font-weight: bold;
color: #4B4B4D;
}
并且该选择中的文本始终与顶部和左侧对齐;有什么方法可以移动那个文本吗?
惊讶于 IE7、IE8 和 IE9 将文本中心设置为垂直。
【问题讨论】: