I would like to know if there is anything equivalent to: -webkit-appearance: none;
for firefox?
What I want to achive?
The -moz-appearance CSS property is used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.
Source:
Mozilla
https://developer.mozilla.org/en/CSS/-moz-appearance
Here is the code for Firefox, Chrome, Safari, & IE. ( IE 10 and up )
Just add a small down arrow png for your select and its all set. My arrow is 30x30 but set it to your specs.
.yourClass select{
overflow: none;
background-color: #ffffff;
-webkit-appearance: none;
background-image: url(../images/icons/downArrow.png);
background-repeat: no-repeat;
background-position: right;
cursor: pointer;
}
/* fall back for ie10+ */
.yourClass select::-ms-expand {
display: none;
}
If you want a select looking like a button in FF why not
select { -moz-appearance: button; }
Like here: http://jsfiddle.net/SsTHA/
-moz-appearance:none
with <select>
still shows a dropdown arrow on Firefox.
See this bug report for more information: https://bugzilla.mozilla.org/show_bug.cgi?id=649849
Try this.. It works
select{
-moz-appearance: none;
text-overflow: '';
text-indent: 0.1px;
}
Tested on Windows 8, Ubuntu and Mac, latest versions of Firefox.
Live example: http://jsfiddle.net/gaurangkathiriya/z3JTh/