とてもいまさらのネタですみません。自分用です。
■sectionのみ(置換で他のものにも1秒ですり返られる)
.section:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.section {
display: inline-table;
min-height: 1%;
}
/* Hides from IE-mac \*/
* html .section { height: 1%; }.section { display: block; }
/* End hide from IE-mac */
■sectionとpagetop
.section:after,
.pagetop:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.section,
.pagetop {
display: inline-table;
min-height: 1%;
}
/* Hides from IE-mac \*/
* html .section,
* html .pagetop { height: 1%; }.section,
.pagetop { display: block; }
/* End hide from IE-mac */