I have an html select element which I would like to style for print so that it just looks like the selected text. How can I hide the drop down arrow?
The below works for Firefox, Safari, Chrome and a few others
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
For IE support look at http://fetchak.com/ie-css3/
You can't.
There is nothing in the standards that specifies that the select element has to have an arrow to indicate to the user that it has options to choose from, or how those options are shown. As those visual elements are not defined, there is naturally nothing defined for changing them.
You just have to display a different element when printing.
In webkit you can specify:
-webkit-appearance: none;
Not sure about the other browsers.
Try this
http://www.jankoatwarpspeed.com/post/2009/07/28/reinventing-drop-down-with-css-jquery.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With