css3 appearance property for IE

北战南征 提交于 2019-11-27 15:04:45

问题


I have a problem with the css3 appearance property in IE. I need it to hide a select menu's arrow, but it's just not working. I tried PIE.htc, ie-css3.htc and other IE CSS3 supporters, but none of them work with appearance. Help me, please!

Thanks in advance!


回答1:


.listing select{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url("../images/select-bg.jpg") no-repeat scroll 0 0 transparent;
    text-indent: 0.01px;
    text-overflow: "";

}
.listing select::-ms-expand{
    display: none;
}

Note : For Chrome, Mozilla & IE 10 Works fine.




回答2:


appearance property is no longer supported. If required you can use moz-appearance for firefox or -webkit-appearance for chrome



来源:https://stackoverflow.com/questions/6088925/css3-appearance-property-for-ie

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!