forms - Setting the label next to a textbos without using tables HTML\CSS -
i doing website personal use. need assistant on how set text-box next label without using tables. in own division tags
<div id="outter"> <div class="1"> fill out , submit form below , contact a.s.a.p. </div> <div class="2"> <label> name: </label> </div> <div class="2"> <input name="name" type="text" class="3" > </div> </div>
trying this:
[input box 1] label 1 [input box 2] label 2
here link better details
very simple solution of problem
html
<fieldset class="login"> <legend>fill out , submit form below , contact a.s.a.p. </legend> <div><label for="name">name</label> <input type="text" id="name" name="name"></div> </fieldset>
css
fieldset div { margin:0.3em 0; clear:both; }
check fiddle
Comments
Post a Comment