/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<fieldset> <form name="signup" action="index.html" method="post"> <ul> <input type="text" name="name" id="name" size="30" /> </li> <input type="text" name="email" id="email" size="30" /> </li> <input type="text" name="psw" id="psw" size="30" /> </li> <input type="radio" name="subscription" id="free"/> </li> <li> <input type="checkbox" name="newsletter" id="newsletter"/> </li> <ul> </form> </fieldset> fieldset ul, fieldset li{ border:0; margin:0; padding:0; list-style:none; } fieldset li{ clear:both; list-style:none; padding-bottom:10px; } fieldset input{ float:left; } fieldset label{ width:140px; float:left; }