From 7c4dc403f67a628a60a37936166f82ec5e23fd7c Mon Sep 17 00:00:00 2001 From: strentini <none@none> Date: Wed, 28 Mar 2012 12:24:19 +0200 Subject: [PATCH] OO-1 : fix clearfix hack for iE7 in yaml_patch.css --- .../static/themes/openolat/patches/yaml_patch.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/webapp/static/themes/openolat/patches/yaml_patch.css b/src/main/webapp/static/themes/openolat/patches/yaml_patch.css index a878bb6ea82..bbfea5b6b7f 100644 --- a/src/main/webapp/static/themes/openolat/patches/yaml_patch.css +++ b/src/main/webapp/static/themes/openolat/patches/yaml_patch.css @@ -44,6 +44,16 @@ width/**/:/**/ .1em; /* only IE 6.0 */ min-width: 1em; /* IE 7 bugfix: force hasLayout=true */ } + + /** + * apply newer clearfix + * (in yaml there is height:1% to activate hasLayout in IE6 and IE7) + * we want the newer "hack" from http://perishablepress.com/new-clearfix-hack/ + */ + .b_clearfix { + height:auto; + zoom:1; + } } -- GitLab