Die Browser-Hacks waren diesmal nicht schuld, sondern zu viele positions absolute und fehlende float-Angaben.
Ich hab die CSS mal etwas umgeschrieben. Achtung: Statt der background-images hab ich Farben eingesetzt, damit's besser deutlich wird.
Die müsstest du dann wieder ersetzen. Mach dir vorsichtshalber ne Sicherungskopie von deiner Datei. Sollte die Anordnung nicht deinen Vorstellungen entsprechen, dann melde dich nochmal.
Jedenfalls sieht's im IE und FF gleich aus.
CSS
Code
#rahmen {
/* Hauptrahmen um die Page */
width: 642px;
height: 550px;
margin: 0 auto;
top: 20px;
}
#head {
/* Headbereich */
background-color:green;
width: 642px;
height: 169px;
}
#middle {
/* Div layer für den Mittleren Bereich */
width: 642px;
height: 367px;
background-color:#000099;
}
#footer {
/* Div layer für Fußbereich */
background-color:yellow;;
width: 642px;
height: 14px;
clear:both;
}
#left {
/* Middle Bereich linke Spalte */
background-color:#ff0000;
background-repeat: no-repeat;
width: 103px;
height: 367px;
float:left;
padding-left: 38px;
}
#left li {
display: block;
cursor: pointer;
list-style-type: none;
}
#menu {
/* Menu im Middle Bereich */
background-color:black;;
width: 642px;
height: 26px;
clear:both;
float:left;
top: 0px;
left: 103px;
text-align: left;
}
#menu li {
display: inline;
cursor: pointer;
padding: 0px;
margin: 0px;
color: #FF0000;
}
#menu li:hover {
color: #000000;
}
#content {
/* Content im Middle Bereich */
background-image: url('images/content.jpg');
background-repeat: no-repeat;
width: 524px;
height: 330px;
overflow: auto;
position: absolute;
left: 103px;
top: 26px;
padding-left: 0px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 0px;
}
#right {
/* Rechte Seite im Middle Bereich */
background-image: url('images/right.jpg');
width: 15px;
height: 367px;
position: absolute;
left: 627px;
}
/* ###### KLASSEN ###### */
.txt {
font-size: 11px;
font-family: verdana;
}
Alles anzeigen
edit: sehe gerade, dass der content noch fehlt. Wo soll der denn hin in der Anordnung der farbigen Kästen oder wie sollen die angeordnet werden?