svn: /pear2/sandbox/pear2.php.net/trunk/www/css/ main.css
| From: | Michael Gauthier | Date: | Thu, 17 Jun 2010 17:16:48 +0000 |
| Subject: | svn: /pear2/sandbox/pear2.php.net/trunk/www/css/ main.css | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9510@lists.php.net to get a copy of this message | ||
gauthierm Thu, 17 Jun 2010 17:16:48 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300538
Log:
Make clearfix work in IE7/8.
Changed paths:
U pear2/sandbox/pear2.php.net/trunk/www/css/main.css
Modified: pear2/sandbox/pear2.php.net/trunk/www/css/main.css
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/css/main.css 2010-06-17 17:15:09 UTC (rev 300537)
+++ pear2/sandbox/pear2.php.net/trunk/www/css/main.css 2010-06-17 17:16:48 UTC (rev 300538)
@@ -44,7 +44,10 @@
font-weight: bold;
}
-.clearfix::after {
+
+/* Clearing container fix */
+
+.clearfix:after {
display: block;
content: '.';
visibility: hidden;
@@ -52,6 +55,12 @@
clear: both;
}
+.clearfix {display:inline-block;}
+/* Hide from IE Mac \*/
+.clearfix {display:block;}
+/* End hide from IE Mac */
+
+
.content {
width: 900px;
margin: 0 auto;