html - Under the input box form labels -


i looking help. cannot find out how code allow form labels appear under form input see example of picture demonstrating looking for: example.

like first, last, mm, dd, yyyy, ### example. can find on input box labels or off side labels.

can provide code me duplicate under input box code.

thanks in advance.

here's need.

html:

<div class="input_cont"> <input type="text" class="inp" id="first" name="first"> <label for="first" class="lbl">i'm first</label> </div><div class="input_cont"> <input type="text" class="inp" id="second" name="second"> <label for="second" class="lbl">i'm second</label></div> 

css:

input,label{margin:0;} .inp{display:block;} .lbl{font-size:9pt; color:#999} .input_cont{display:inline-block; zoom:1; *display:inline; margin-right:10px} 

http://jsfiddle.net/kxncv/


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -