Return to Snippet

Revision: 3491
at August 1, 2007 06:12 by valcartei


Initial Code
<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;
}

Initial URL

                                

Initial Description

                                

Initial Title
Styling forms with definition lists

Initial Tags

                                

Initial Language
CSS