0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Fixed empty for fields on select labels

Also added id fields to selects where needed
This commit is contained in:
David Haywood Smith 2011-08-24 00:05:07 +01:00
parent 0bfce13983
commit 70bac36a22

View File

@ -615,15 +615,15 @@
<fieldset>
<legend>Example form legend</legend>
<div class="clearfix">
<label for="">X-Large Input</label>
<label for="xlInput">X-Large Input</label>
<div class="input">
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
</div>
</div> <!-- /clearfix -->
<div class="clearfix">
<label for="">Select</label>
<label for="normalSelect">Select</label>
<div class="input">
<select>
<select name="normalSelect" id="normalSelect">
<option>1</option>
<option>2</option>
<option>3</option>
@ -633,9 +633,9 @@
</div>
</div> <!-- /clearfix -->
<div class="clearfix">
<label for="">Select</label>
<label for="mediumSelect">Select</label>
<div class="input">
<select class="medium">
<select class="medium" name="mediumSelect" id="mediumSelect">
<option>1</option>
<option>2</option>
<option>3</option>
@ -797,15 +797,15 @@
<fieldset>
<legend>Example form legend</legend>
<div class="clearfix">
<label for="">X-Large Input</label>
<label for="xlInput">X-Large Input</label>
<div class="input">
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
</div>
</div> <!-- /clearfix -->
<div class="clearfix">
<label for="">Select</label>
<label for="stackedSelect">Select</label>
<div class="input">
<select>
<select name="stackedSelect" id="stackedSelect">
<option>1</option>
<option>2</option>
<option>3</option>