用于“向下箭头”的CSS on< select>元件? [英] CSS for the "down arrow" on a <select> element?

查看:226
本文介绍了用于“向下箭头”的CSS on< select>元件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使下拉选择元素的向下箭头样式化?即(< select>< option> - >< / option>< / select>

Is it possible to stylize the down arrow on a drop down select element? i.e., (<select><option>--></option></select>)

我怀疑答案是不是因为IE处理那个特定的元素。如果没有办法,有没有人知道一个假的下拉框使用javaScript将模仿这种行为,但让我能够自定义?

I suspect the answer is no because of the way IE handles that particular element. If there isn't a way, does anyone know of a 'fake' drop down box using javaScript that would mimic that behavior but give me the ability to customize?

推荐答案

也许您可以使用 jQuery选择框替换。它是一个jQuery插件。

Maybe you can use jQuery selectbox replacement. It's a jQuery plugin.

这篇关于用于“向下箭头”的CSS on&lt; select&gt;元件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆