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:
parent
e24d8b4679
commit
ed6dd533f0
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user