/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<form> <dl> <dt>Email:</dt> <dd><input type="text" name="email" /></dd> <dt>Name:</dt> <dd><input type="text" name="name" /></dd> </dl> </form> /*CSS*/ FORM DT { clear:both; width:33%; float:left; text-align:right; } FORM DD { float:left; width:66%; margin:0 0 0.5em 0.25em; }