Das ist ein klassisches Drei - Spalten - CSS - Template, ohne dass eine HTML - Tabelle benutzt wurde. Das Template sieht so aus:
Hier das CSS - Template als einzelne Datei, wo HTML und CSS zusammen sind zum Downloaden:
Und hier der separate Code, also das HTML und das CSS:
body { padding: 0px; margin: 0px; background-color: #0080c0; color:#000099; font-family: } .header { height: 100px; background-color: #000099; margin: 5 5 0 5; } .navi-oben { height: 20px; background-color: #CC9999; margin: 0 5 0 5; } .breadcrumb { height: 20px; background-color: #CCCCCC; margin: 0 5 5 5; } .inhalt { width: auto; height: 100%; background-color: #ffffc6; margin: 5 180 0 180; } .links { position: absolute; top: 150px; left: 5px; width: 170px; height: 100%; background-color: #ffcc00; } .rechts { position: absolute; top: 150px; right: 5px; width: 170px; height: 100%; background-color: #000099; } .box1 { position: absolute; top: 0px; /* Die höhe des letzten Elements wird dazugezählt */ width: 168px; height: 168px; background-color: #ffffff; margin: 1 1 1 1; } .box2 { position: absolute; top: 175px; width: 170px; height: 170px; background-color: #9933FF; }
