Tag Archive for float

Clearfix

.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac */
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
* html .clearfix {
height: 1%;
}

source

CSS Clearfix

.clearfix:after {
content: ".";
display: block;
height: 0.1px;
clear: both;
font-size: 0;
visibility: hidden;
}

.clearfix {
display: block;
}

/* This would preferable go in an IE specific stylesheet */
/* */
* html .clearfix {
height: 1%;
zoom: 1;
}
/**/

source

spanish price format

$price = number_format($price, 2, ',', '.');

source

clearfix

/*FLOAT CLEAR FIX*/
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

/* Hides from IE-mac */
* html .clearfix {height:
/* End hide from IE-mac */

source

ClearFix

.ClearFix:after{
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}

/* WinIE7 only */
*:first-child+html .ClearFix{
height:1%;
}

/* WinIE6 and below */
/*Â¥*/
* html .ClearFix{
height:1%;
}
/**/

/* MacIE only */
/*Â¥*//*/
.ClearFix{
display:inline-table;
}
/**/

source

Clear floats without structural markup

.clearfix
{
display: inline-table;
/* Hides from IE-mac */
height: 1%;
display: block;
/* End hide from IE-mac */
}

html>body .clearfix
{
height: auto;
}

.clearfix:after
{
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

source