문제

a question about a drop-down select, which looks not totally correct in its appearance, the default part on the right should not be visible with this code, but it is shown. this is the code, created inside a site developed with bootstrap for mobile template. do i miss something? do you need more information?

.menuSelect {
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
    height: 75px;
    font-size: 30px;
    width: 100%;
    border: none;
    padding: 0 10px;
    background: url("img/selectmenu-arrowwhite.png") no-repeat scroll right center #00AEEF;
    color: #FFFFFF;
}

enter image description here

thanks in advance

도움이 되었습니까?

해결책

A combination of low indent and text-overflow: '' works on FireFox. I did use it recently as well.

http://jsfiddle.net/Jg2nF/3/

.menuSelect {
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
    height: 75px;
    font-size: 30px;
    width: 100%;
    border: none;
    padding: 0 10px;
    background: url("img/selectmenu-arrowwhite.png") no-repeat scroll right center #00AEEF;
    color: #FFFFFF;
}

I forgot IE, sorry. I'm using this currently:

http://jsfiddle.net/Jg2nF/4/

select::-ms-expand {
    display: none;
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top