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

http://homework.genesee.edu/~dmead1/forms/table.html

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

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -