Skip to content

Commit 70bac36

Browse files
committed
Fixed empty for fields on select labels
Also added id fields to selects where needed
1 parent 0bfce13 commit 70bac36

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -615,15 +615,15 @@ <h2>Default styles</h2>
615615
<fieldset>
616616
<legend>Example form legend</legend>
617617
<div class="clearfix">
618-
<label for="">X-Large Input</label>
618+
<label for="xlInput">X-Large Input</label>
619619
<div class="input">
620620
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
621621
</div>
622622
</div> <!-- /clearfix -->
623623
<div class="clearfix">
624-
<label for="">Select</label>
624+
<label for="normalSelect">Select</label>
625625
<div class="input">
626-
<select>
626+
<select name="normalSelect" id="normalSelect">
627627
<option>1</option>
628628
<option>2</option>
629629
<option>3</option>
@@ -633,9 +633,9 @@ <h2>Default styles</h2>
633633
</div>
634634
</div> <!-- /clearfix -->
635635
<div class="clearfix">
636-
<label for="">Select</label>
636+
<label for="mediumSelect">Select</label>
637637
<div class="input">
638-
<select class="medium">
638+
<select class="medium" name="mediumSelect" id="mediumSelect">
639639
<option>1</option>
640640
<option>2</option>
641641
<option>3</option>
@@ -797,15 +797,15 @@ <h2>Stacked forms</h2>
797797
<fieldset>
798798
<legend>Example form legend</legend>
799799
<div class="clearfix">
800-
<label for="">X-Large Input</label>
800+
<label for="xlInput">X-Large Input</label>
801801
<div class="input">
802802
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
803803
</div>
804804
</div> <!-- /clearfix -->
805805
<div class="clearfix">
806-
<label for="">Select</label>
806+
<label for="stackedSelect">Select</label>
807807
<div class="input">
808-
<select>
808+
<select name="stackedSelect" id="stackedSelect">
809809
<option>1</option>
810810
<option>2</option>
811811
<option>3</option>

0 commit comments

Comments
 (0)