我如何添加填充到html下拉列表? [英] How can I add padding to html dropdownlist?

查看:260
本文介绍了我如何添加填充到html下拉列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试图将其添加到select和option的样式属性中。它在IE中不起作用。



我能做什么?

解决方案

好的,我讨厌听到所有九十年代,但只是预先和应用程序结束的选项文本的空格可以接受您的预期目标?


I want to add padding to the options of html "select" tag.

I try to add it in the style property of "select" and "option" and it doesn't work in IE.

What can I do?

解决方案

OK, I hate to sound all 1990s, but would simply pre- and app-ending a space to the option text be acceptable for your desired goals?

这篇关于我如何添加填充到html下拉列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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