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,12 +139,19 @@
|
|||
|
||||
#content dl
|
||||
{
|
||||
float: left;
|
||||
width: 100%;
|
||||
float:none;
|
||||
clear:both;
|
||||
width:100%;
|
||||
margin: 1em 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#content dl:after {
|
||||
content:' ';
|
||||
display:block;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
#content dt
|
||||
{
|
||||
clear: left;
|
||||
|
|
Loading…
Reference in New Issue
Block a user