tame the floating behaviour of <dl>s: clear both before and after. the previous behaviour was not robust in the presence of right-floated images, shuffling text blocks all over the place.

This commit is contained in:
Jörn Nettingsmeier 2014-02-05 14:53:03 +01:00
parent e24d8b4679
commit ed6dd533f0

View File

@ -139,11 +139,18 @@
#content dl #content dl
{ {
float: left; float:none;
width: 100%; clear:both;
width:100%;
margin: 1em 0; margin: 1em 0;
padding: 0; padding: 0;
} }
#content dl:after {
content:' ';
display:block;
clear:both;
}
#content dt #content dt
{ {