HTML
<dl id="photo-attributes">
<dt>Edition</dt>
<dd>200</dd>
<dt>Ratio</dt>
<dd>3:1</dd>
<dt>Location</dt>
<dd>Great ocean road, Victoria</dd>
<dt>FStop</dt>
<dd>F-32</dd>
<dt>Exposure</dt>
<dd>3 minutes 40 seconds</dd>
</dl>
CSS
#photo-attributes {
margin: 1em 0;
overflow: hidden;
}
#photo-attributes dt {
width: 10em;
float: left;
clear: left;
font-weight: bold;
}
#photo-attributes dd {
float: left;
}
It works as expected in everything except IE7. The dd
float left on one line. I can't recall what bug this is in IE7.
How do I fix this? Thanks