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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -