$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r51602 - website/public_html/beta/style/css_0
From: daniel_james_at_[hidden]
Date: 2009-03-04 07:39:21
Author: danieljames
Date: 2009-03-04 07:39:21 EST (Wed, 04 Mar 2009)
New Revision: 51602
URL: http://svn.boost.org/trac/boost/changeset/51602
Log:
Fix IE7 layout problem without using invalid CSS.
Fixes #1733
Text files modified: 
   website/public_html/beta/style/css_0/content.css |     9 +++++++--                               
   1 files changed, 7 insertions(+), 2 deletions(-)
Modified: website/public_html/beta/style/css_0/content.css
==============================================================================
--- website/public_html/beta/style/css_0/content.css	(original)
+++ website/public_html/beta/style/css_0/content.css	2009-03-04 07:39:21 EST (Wed, 04 Mar 2009)
@@ -13,8 +13,13 @@
 #content .section {
   margin: 0em 17.5em 0em 0em;
 
-  /* Turn on 'haslayout' in internet explorer. */
-  zoom: 1;
+  /* Hack to set 'haslayout' in internet explorer 7.
+   * On IE8+ (which doesn't have hasLayout) and other recent browsers this has
+   * no effect (as the element's min-height is 0 anyway).
+   * On older browsers this has no effect as they don't understand min-height
+   * and will ignore it.
+   */
+  min-height: 0;
 }
 #content .section-0 {
   padding: 1.5em;