我正在为我的 asp.net 元素使用 asp:button。
我写了一个 css 类。它完美地应用了 Css 样式并在 asp:button 中显示图像。
它在 FF、Safari 和 IE8 中运行良好。
但是Css Class在IE7下不起作用,如何解决?我的代码是:
.likeImage {
background-image:url('images/LikeNew.png');
background-repeat:no-repeat;
background-position:top left;
width:65px;
height:24px;
cursor:default;
text-align:left;
padding-left:5px;
margin:0px;
padding:0px;
}
最佳答案
试试这个:
padding: 0 0 0 5px;
关于asp.net - IE7 中的 CSS 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6926440/