Tutorials Infos - Anleitungen - Hilfe - Dreamcodes
 

Clearfix

Für ein besseres Anpassen von Tabellen
 
Script:
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

 
ID: 1486
eingestellt am: 29.10.2007
Autor: Na
Status zum lesen: Gast
gelesen: 4490
Webseite: www.dreamcodes.com
[Drucken]