1
在IE8中,当我点击一个带有class="down"
的按钮时,图像位置改变了1px。如何解决这个问题?IE8 - 单击按钮时图像位置改变1px
.listdown .down {
background-color: transparent;
background-image: url("../images/listdown_active.png");
background-position: right center;
background-repeat: no-repeat;
border: 0 none;
cursor: pointer;
float: left;
height: 32px;
padding: 8px 0;
width: 30px;
}
让自己置身于知名但通常不喜欢的概念,即CSS不是像素完美的描述语言,并且使您的设计不需要老式校准。 – msw 2010-08-05 05:09:14
这是IE8问题 - 按钮位置的渲染关闭 – 2010-08-05 05:17:35