summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.css15
1 files changed, 5 insertions, 10 deletions
diff --git a/modules/system/system.css b/modules/system/system.css
index a871005fd..a5fa7f957 100644
--- a/modules/system/system.css
+++ b/modules/system/system.css
@@ -397,7 +397,7 @@ table.sticky-header {
/*
** Markup free clearing
-** Details: http://www.positioniseverything.net/easyclearing.html
+** Details: http://perishablepress.com/press/2009/12/06/new-clearfix-hack
*/
.clearfix:after {
content: ".";
@@ -406,16 +406,11 @@ table.sticky-header {
clear: both;
visibility: hidden;
}
-
-.clearfix {
- display: inline-block;
-}
-
-/* Hides from IE-mac \*/
+/* IE6 */
* html .clearfix {
height: 1%;
}
-.clearfix {
- display: block;
+/* IE7 */
+*:first-child + html .clearfix {
+ min-height: 1%;
}
-/* End hide from IE-mac */