konsument: bei float funzt background definition nicht

Beitrag lesen

Dann machst Du was anderes falsch!
Hast einen Link?

Der ganze Code (vor allem dein CSS) würde wahrscheinlich beim Lösen des Problems ganz gut helfen.

mal sehen:

<body>
<div id="all">
 <div id="header"></div>
 <div id="main">
  <div id="menu">
   <div id="mainmenu"></div>
   <div id="submenu"></div>
  <div id="content">
   <div id="cont"></div>
  </div>
 <div id="bottom"></div>
</div>
</body>

css:

body {
margin:0px;
padding:0px;
font-size:11px;
font-family:"Tahoma", Arial, sans-serif;
line-height:140%;
background-image:url(images/site/content/main_bg.jpg);
background-repeat:repeat-x;
background-color:#E3EDF6;
}

#all {
width:934px;
height:auto;
position:absolute;
left:50%;
margin-left:-500px;
}

#header {
width:934px;
height:253px;
background-image:url(images/site/content/header.jpg);
background-repeat:no-repeat;
}

#main {
width:934px;
height:auto;
background-image:url(images/site/content/center_bg.jpg);
background-repeat:repeat-y;
}

/* ----- MENU ----- */

#menu {
width:326px;
height:410px;
background-image:url(images/site/content/menu.jpg);
background-repeat:no-repeat;
float:left
}

/* ----- CONTENT ----- */

#content {
width:608px;
height:410px;
background-image:url(images/site/content/content.jpg);
background-repeat:no-repeat;
float:left
}

#cont {
position:relative;
top:auto;
left:auto;
z-index:1;
width:500px;
height:auto;
margin:25px 0px 0px 45px;
}

/* ----- BOTTOM ----- */

#bottom {
width:934px;
height:146px;
margin-top:-52px;
background-image:url(images/site/content/bottom.jpg);
background-repeat:no-repeat;
clear:both
}

die bilder sind ja erstmal unwesentlich.

grüße