|
|
|
Crossbrowser DL
1
Styles a Definition List to display as:
k:v
k:v
IE6 Bug has multiple DD's with a negative margin of about 2px
k:v
k:v
IE6 Bug has multiple DD's with a negative margin of about 2px
<dl>
<dt>Address</dt>
<dd>130 Long Way Street</dd>
<dt>Phone</dt>
<dd>0000 0000</dd>
<dt>Email</dt>
<dd>blah</dd>
<dd>blah</dd>
<dt>Fax</dt>
<dd>0000 0000</dd>
</dl>
dt {
font-weight: bold;
color: #0000FF;
float: left;
clear: left;
}
dd {
margin-left: 5em
}
dt, dd {
line-height: 1.5;
}




There are currently no comments for this snippet.