Tobias Koch: float:left - content rechts wird umgebrochen

Beitrag lesen

Hallo,

ich habe eine Seite mit CSS erstellt. Dabei habe ich links ein Menu und rechts den Content. Das ganze habe ich in einen anderen div-Block gepackt, damit es zusammen bleibt. Bei mir funzt alles perfekt auf dem Rechner, aber bei einem anderen wird der Content trotzdem umgebrochen und erscheint unter dem div class=menu-Block...Warum zum Teufel?

Kann mir das jemand erklären? Bin verzweifelt....

.menuandcontent {
width:760px;
padding:0px;
margin:0px;
border:0px solid black;
}

.menu {
float:left;
margin:0px;
padding-right:3px;
padding-left:5px;
padding-bottom:16px;
padding-top:2px;
width:144px;
background-color:#69c;
color:#fff;
border:0px solid black;
}

.content {
padding:3px;
border:0px solid black;
margin:2px 2px 2px 154px;