I have a select box that is too short for my liking. I want it to automatically resize to its containers width (in this case the blue box in col-md-6) below
<div class="col-md-6">
<select class="input-xlarge">
<option>...</option>
</select>
</div>
How can I accomplish this so it fits in the whole blue space?
2
Answers
IF you set the width for the select element to 100% it will cover the whole with of the col-md-6
Bootstrap has a built-in class for this that works on
input
andselect
:.form-control