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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -