Napotkałem na dziwny błąd...
Mam element DIV CONTENT zawierający 2 inne. CONTENT_LEFT i CONTENT_RIGHT
CONTENT ma tlo koloru czerwonego tak. Niestety tło widoczne jest tylko pod IE! CONTENT_LEFT i CONTENT_RIGHT nie maja zdefiniowanego koloru tła więc powinno byc widoczne tło z CONTENT!
Podaję kod:
<body> <!-- CONTAINER --> <div id="container"> <!-- HEADER --> <div id="header"> <!-- MENU_TOP --> <div id="menu_top"> </div> <!-- MENU_TOP --> <!-- MENU_BOTTOM --> <!-- MENU_BOTTOM --> </div> <!-- HEADER --> <!-- CONTENT --> <div id="content"> <!-- CONTENT_LEFT --> <!-- CONTENT_LEFT --> <!-- CONTENT_RIGHT --> <!-- CONTENT_RIGHT --> </div> <!-- CONTENT --> <!-- FOOTER --> <div id="footer"> <div id="footer_left"> </div> </div> <!-- FOOTER --> </div> <!-- CONTAINER --> </body>
oraz CSS:
body{ background-color: #fff; background-image: url(../bilder/bg_body.gif); background-repeat: repeat-x; background-position: top; margin:0; padding:0; font-family:verdana, arial; font-size:12px; color:#4e4e4e; } p{ margin:0; padding:0; margin-bottom:10px; line-height:20px; } h1{ margin:0; padding:0; margin-bottom:10px; font-size: 18px; color: #006699; } a{ color:#006699; text-decoration:none; } a:hover{ color:#4e4e4e; text-decoration:underline; } #container{ width:965px; margin:0 auto; } #header{ width:100%; height:174px; } #content{ width:965px; background-color:red; } #content_left{ width:580px; float:left; margin-bottom:22px; padding-left:58px; padding-right:24px; } #content_right{ width:221px; float:right; margin-bottom:22px; padding-left:24px; padding-right:58px; } #footer{ clear:both; width:100%; height:34px; background-image: url(../bilder/bg_footer.gif); background-repeat: no-repeat; background-position:top; font-family:arial; font-size:11px; } #footer_left{ float:left; height:100%; width:424px; padding-top:15px; padding-left:58px; } #footer_right{ float:right; height:100%; width:425px; text-align:right; padding-top:15px; padding-right:58px; } #footer_right ul{ padding:0; margin:0; } #footer_right li{ display:inline; padding:0; margin:0; margin-left:7px; } #footer_right a{ color:#4e4e4e; text-decoration:none; } #footer_right a:hover{ color:#006699; text-decoration:underline; } #menu_top{ width:965px; height:133px; background-image: url(../bilder/bg_menu_top.gif); background-repeat:no-repeat; background-position:bottom; } #menu_top_left{ float:left; width:326px; height:100%; } #menu_top_right{ float:right; width:639px; padding-top:90px; } #menu_top_right ul{ padding:0; margin:0; } #menu_top_right li{ display:inline; font-family:verdana; font-size:15px; font-weight:normal; } #menu_top_right li a{ display:block; float:left; padding-top:10px; padding-left:20px; padding-right:20px; height:32px; text-decoration:none; } #menu_top_right li.menu_e1_activ a{ display:block; float:left; padding-top:10px; padding-left:19px; padding-right:19px; border: solid 1px #cecece; border-bottom:0; color:#4e4e4e; background-color:#fff; background-image: url(../bilder/bg_menu_top_a.gif); background-repeat:repeat-x; background-position:top; text-decoration:none; } #menu_top_right li.menu_activ a:hover{ text-decoration:none; } #menu_bottom{ width:965px; height:41px; padding-top:8px; text-align:center; } #menu_bottom ul{ padding:0; margin:0; } #menu_bottom li{ display:inline; font-family:verdana; font-size:12px; font-weight:normal; margin-left:10px; margin-right:10px; } #menu_bottom li a{ display:inline; font-family:verdana; font-size:12px; font-weight:normal; margin-left:10px; margin-right:10px; text-decoration:none; color:#4e4e4e; } #menu_bottom li a:hover{ color:#006699; } #menu_bottom li.menu_e2_activ a{ color:#006699; }
Kodu trochę jest ale wystarczy odszukac wlasciwy identyfikator.
Jak znajdziecie chwilkę to zerknijcie.