css - displaying html form inputs horizontally -


i trying recreate login form shown on tinypic's main page.

login

in html, have 3 elemnts this:

e-mail: <input type="text" name="id" maxlength="30" value="" /> password: <input type="text" name="pw" maxlength="30" value="" />  <input type="submit" name="submit" value="login" /> 

i have tried putting them separate divs, using float:left unique class in css code messy unreasonably long. essentially, wanted know if there simple way achieve layout html , css.

thanks time!

this css should work, though haven't tested:

input { display: inline; } 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -