Posted By

sebikovacs on 11/08/10


Tagged

form


Versions (?)

Horizontal form (ex: newsletter subscription)


 / Published in: XHTML
 

  1. form br{clear:left;}
  2. label {width: 240px;margin: 0 0 5px;}
  3. input {width: 240px;height: 25px;line-height:25px;margin: 0 0 10px;border:1px solid #333;padding:0 0 0 6px;}
  4. textarea {width: 240px;height: 115px;}
  5. .submit{margin:0;padding:0;width:auto;height:auto;background:none;color:#000;}
  6.  
  7. /*checkbox*/
  8. .checkbox{}
  9. .checkbox label{width:auto;margin:0;padding:0;}
  10. .checkbox input{width:auto;height:auto;margin:0;padding:0;border:0;}
  11. <form action="#" method="post">
  12. <input type="text" value="" />
  13. <input type="submit" class="submit" value="text" />
  14. </form>

Report this snippet  

You need to login to post a comment.