|
|||
Container Positionierungs Problem
Hallo, ich habe folgendes Problem:
Ich habe in einem DIV "TOP" mit 2 Weitere Container noch einmal TOP1 und TOP2 aufgeteilt. TOP 1 wird richtig positioniert aber leider TOP 2 nicht! TOP 2 erhält aus irgendeinem Grund einen padding oder margin- top abstand von 33px. Habe schon diverse Einstellungen ausprobiert und nach margin colapsing geschaut finde aber leider den Fehler nicht vll könnt ihr mir helfen danke... Code:
#wrapper { width: 1007px; background-color: #fff; margin: 20px auto 30px; } #container { width:1007px; margin: 0 0 0 0; } #top { height: 271px; width: 1007px; background-color: #000000; margin-bottom: 1px; boarder: 0px; } #top1 { float: left; width: 643px; height: 271px; padding-right: 1px; background-color: #233454; } #top2 { float: left; width:363px; height: 271px; padding-left: 1px; margin-top: -20px; background-color: #FFFFFF; } #menue { float: left; width: 643px; height: 33px; background-color:#546367; padding: 0px; margin: 0px; } #header { background-image:url(images/header.png); background-repeat:no-repeat; width:643px; height:238px; margin:0; padding:0px 0 0 0px; font-family:Arial, Helvetica, sans-serif; font-size:28px; color:#006699; font-weight: bold; text-transform: uppercase; margin-bottom: 0px; float: left; } #suchekasten { float: left; background-image:url(images/search.png); background-repeat:repeat-x; width:363px; height:81px; padding-left: 1px; margin-bottom: 1px; text-align:center; /* Iexplorer */ *width:360px; } #bilder { float:left; padding-left: 1px; /*background-color: #1C4460;*/ background-image: url(images/test.png); width:363px; text-align:center; height:177px; border-bottom:12px solid #D4D8D9; /* Iexplorer */ *width:360px; } test » Weblog danke lg Hans Geändert von snuf (22.10.2007 um 22:27 Uhr) |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Problem mit der Anordnung mehrerer Container | Seel-Media | CSS | 4 | 30.04.2009 11:59 |
Header - Container - Footer / Problem mit Abständen | k3nny | CSS | 4 | 08.01.2007 04:41 |
div container verschachteln | blau | CSS | 2 | 05.12.2006 20:44 |
Container nimmt nicht die Höhe seines Inhalts an | Lestat | CSS | 10 | 04.08.2005 14:47 |
Mitwachsende DIV Container | Myjestic | CSS | 9 | 27.07.2005 18:37 |