From a0c43fd14e6eaa9f6c23952c5cc782382edd2a60 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 21 May 2014 13:07:50 +0100 Subject: [PATCH] Add styles to make content area grow to contain floated images. See http://www.quirksmode.org/css/clearing.html --- examples/htdocs/mkws-widget-credo.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/htdocs/mkws-widget-credo.css b/examples/htdocs/mkws-widget-credo.css index 5e4ffa2..2b8ef0d 100644 --- a/examples/htdocs/mkws-widget-credo.css +++ b/examples/htdocs/mkws-widget-credo.css @@ -43,6 +43,11 @@ .mkwsCredo div.content { background: white; padding: 0.5em 1em; + + // Next two are needed to make this area grow to contain floated images. + // See http://www.quirksmode.org/css/clearing.html + overflow: auto; + width: 100%; } .mkwsReference h1 { -- 1.7.10.4