svn: /pear2/sandbox/pear2.php.net/trunk/www/css/ main.css
[email protected] (Michael Gauthier)
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
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;