如题所述
如何为IE和chrome浏览器设置不同的CSS样式?方法如下:
.closeImg{cursor:pointer;
position:absolute;
right:9px;
right:0px\9;//这是ie的样式
bottom:55px;
display:none
}
@media screen and (-webkit-min-device-pixel-ratio:0){.closeImg{right:0px;} }
温馨提示:答案为网友推荐,仅供参考