[Compass Core] New content char is the best practice for the pie-clearfix now. Avoids the gap at the bottom in some browsers.

Closes GH-179
This commit is contained in:
Chris Eppstein 2010-07-23 20:11:52 -07:00
parent ed75525b2a
commit dafbf93999
2 changed files with 2 additions and 5 deletions

View File

@ -18,12 +18,9 @@
// [Easy Clearing](http://www.positioniseverything.net/easyclearing.html)
// has the advantage of allowing positioned elements to hang
// outside the bounds of the container at the expense of more tricky CSS.
//
// This method of clearing might cause a gap at the bottom of the page in
// some browsers when used on the last element of the page.
@mixin pie-clearfix {
&:after {
content : " ";
content : "\0020";
display : block;
height : 0;
clear : both;

View File

@ -7,7 +7,7 @@
.pie-clearfix {
display: inline-block; }
.pie-clearfix:after {
content: " ";
content: "\0020";
display: block;
height: 0;
clear: both;