DIV mit 1px Höhe im Internet Explorer
Legt man ein DIV mit z.B. 1px Höhe an ist dieses im IE immer eine Textzeile hoch:
.tab_divider {
height: 1px;
border-bottom: 1px solid #ccc;
margin: 0px;
padding: 0px;
}
Grund ist, dass der IE hier einen (nicht vorhandenen) Text anzeigen will. Abhilfe ist ganz einfach:
overflow:hidden;
Erstellt: 07/2010| Geändert: 10/2015