From ed6dd533f0317fdde938e86a30bc301cef8775ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Nettingsmeier?= Date: Wed, 5 Feb 2014 14:53:03 +0100 Subject: [PATCH] tame the floating behaviour of
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. --- source/css/app.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/css/app.css b/source/css/app.css index ff2aeaa..6e7eb34 100644 --- a/source/css/app.css +++ b/source/css/app.css @@ -139,11 +139,18 @@ #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 {