定义选择框的高度 [英] Define height of select box
本文介绍了定义选择框的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的选择框高度有问题。是否有可能使选择列表更短与css属性或其他方式?
查看附件截图
I have a problem with select box height. Is it possible to make select list shorter with css property or other way? see attached screenshot
推荐答案
也许你可以试试这个诀窍:
Maybe you can try this trick:
<select onmouseover="this.size=10;" onmouseout="this.size=1;">
查看演示: http://jsfiddle.net/h9SKM/
这篇关于定义选择框的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文