如何调整DropDown的宽度< select>框? [英] How do I adjust the width of a DropDown <select> box?
本文介绍了如何调整DropDown的宽度< select>框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在不使用css的情况下调整选择HTML框的宽度,有没有办法?我尝试过大小,但它调整高度,宽度什么都不做?
解决方案
< style type =text / css> ;
选择{
width:200px;
}
< / style>
这是行不通的吗?
I need to adjust the width of a select HTML box without using css, is there a way? I tried size but then it's adjusting the height, and width does nothing? Is there another way?
解决方案
<style type="text/css">
select {
width:200px;
}
</style>
Does that not work?
这篇关于如何调整DropDown的宽度< select>框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文