从下拉菜单中删除下拉(选择)按钮? [英] Remove dropdown (select) button from dropdown menus?

查看:116
本文介绍了从下拉菜单中删除下拉(选择)按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有办法从下拉菜单中删除下拉菜单(<select>)按钮(小箭头)?我想创建一个项目列表,但是没有箭头.

I was wondering if there is a way to remove the dropdown (<select>) button (the little arrow) from the dropdown menu? I want to create a item list, but without the arrow.

  • 史蒂夫

推荐答案

您不能这样做,尤其是跨浏览器.您可以将<select>元素完全替换为另一个控件,但是您无法修改<select>的呈现方式……至少不会以您想要的方式.

You can't do this, especially cross-browser. You can replace the <select> elements entirely with another control, but you can't modify how a <select> renders...not in the way you want at least.

此处替换的="nofollow">示例.

Here are a few examples of replacements.

这篇关于从下拉菜单中删除下拉(选择)按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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