在Twitter Bootstrap中更改选择标记的宽度 [英] Change width of select tag in Twitter Bootstrap
本文介绍了在Twitter Bootstrap中更改选择标记的宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在使用Twitter启动时更改选择字段的宽度?添加 input-xxlarge
CSS类似乎不工作(就像它在其他表单元素),所以下拉列表中的元素目前被切断。
How do I change the width of a select field, when using Twitter bootstrap? Adding input-xxlarge
CSS classes doesn't seem to work (like it does on other form elements), so the elements in my drop down are currently cut off.
推荐答案
这适用于我减少select标签的宽度;
This works for me to reduce select tag's width;
<select id ="Select1" class="input-small">
您可以使用这些类中的任何一个;
You can use any one of these classes;
class="input-small"
class="input-medium"
class="input-large"
class="input-xlarge"
class="input-xxlarge"
这篇关于在Twitter Bootstrap中更改选择标记的宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文