From 8206f49d4f12ff5abee1d2f5fc2280c1335527c6 Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Thu, 25 Oct 2012 11:39:16 +1300 Subject: [PATCH] BUGFIX clearfix added for checkbox by it's self --- css/form.css | 8 ++++++++ css/typography.css | 11 +++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/css/form.css b/css/form.css index 5797705..660f309 100644 --- a/css/form.css +++ b/css/form.css @@ -212,6 +212,14 @@ form .optionset ul { margin-bottom: 5px; list-style-type:none; } + form div.checkbox:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + } + form .checkbox .checkbox { clear: both; } /* Messages */ span.message { diff --git a/css/typography.css b/css/typography.css index fa953af..89efed9 100644 --- a/css/typography.css +++ b/css/typography.css @@ -62,7 +62,7 @@ body { border-bottom: 1px solid #e5e5e5; padding-bottom: 5px; } -.typography h2 { font-size: 28px; line-height: 35px; margin-bottom: 15px; padding-top: 10px; } +.typography h2 { font-size: 28px; line-height: 35px; margin-bottom: 15px; } .typography h3 { font-size: 22px; line-height: 30px; margin-bottom: 10px; } .typography h4 { font-size: 18px; line-height: 25px; margin-bottom: 5px; } .typography h5 { font-size: 16px; line-height: 20px; margin-bottom: 5px; } @@ -241,7 +241,7 @@ body { margin: 0 0 20px; float: right; text-indent: 30px; - width: 45%; + width: 50%; margin-left: 5%; clear: both; } @@ -256,4 +256,11 @@ body { margin: 0 0 20px 0; padding: 15px; clear: both; +} + +/* ADDRESS +-------------------------------------------- */ +address { + display: block; + margin-bottom: 20px; } \ No newline at end of file