|
|||
IE zeigt Hintergrund im DIV nicht an
Hallo,
ich habe folgendes Problem: Der IE 5.01 zeigt mir weder einen Hintergrund noch eine Hintergrundfarbe in meinem DIV-Container an, IE &, Firefox und Co hingegen machen alles richtig... Ich habe schon mehrere IE-Bugs in diesem Dokument umschifft, aber daran beiße ich mir die Zähne aus, grr... Hat jemand vielleicht eine Idee, was helfen könnte? Ich habe Code und CSS zu Testzwecken vereinfacht und in eine Testdatei gepackt, hier ist der Code: Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Unbenanntes Dokument</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> <!-- body { background-color:#FFCC99;} #wrapper { width: 760px; position: absolute; left:0px; top:0px; border: 0px; background-color:#33CCCC;} #head { width: 760px; height: 125px; } #root_menu {height: 20px; line-height: 18px; padding-left: 260px; font-size: 10px; overflow: hidden; } #root_menu {width: 710px; voice-family: "\"}\""; voice-family:inherit; width: 450px;} #wrapper_content{ width: 760px; margin: 0px; float: none;} #menu {width: 240px;background-color:#eeCC66;} #content {float: right; margin: 0px; padding: 10px 50px 10px 10px; background-color:#FFCC00;} /* fuer den IE */ #content {width: 510px; voice-family: "\"}\""; voice-family:inherit; width:450px;} #footer {clear:both; width: 760px; height: 100px; overflow: hidden; background-color:#00CC66;} --> </style> </head> <body> <div id="wrapper"> <div id="head">headgrafik</div> <div id="root_menu"> menu-level 1 // <a href="#" class="root">menu-level 2</a> // unterseite level 3 </div> <div id="wrapper_content"> <div id="content"> <div class="article"> <h1>ÜBERSCHRIFT DER 1. EBENE</h1> <h2>Überschrift der 2. Ebene</h2> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero et accumsan et iusto odio dignissim qui blandit praesent Beispielink zzril delenit augue duis dolore te feugait nulla facilisi. </p> </div> <div class="article"></div> </div> <div id="menu"> menu </div> <div style="clear: both"></div> </div> <div id="footer">zum Seitenanfang | Impressum </div> </div> </body> </html> Gruß mart
__________________
grüße aus berlin, mart |
Sponsored Links |
|
|||
<style type="text/css">
erstetzen durch: <style type="text/css" media="screen"> ^^ dann läufts.. steht aber in jedem beispiel css file das ich kenne.. =) PS: logischerweise auch weg.. |
Sponsored Links |
|
|||
Hallo,
ich hab jetzt Code:
<style type="text/css" type="text/css" media="screen"> gruss, mart
__________________
grüße aus berlin, mart |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Div Container und Hintergrund | Jessi | CSS | 12 | 03.02.2013 14:43 |
Div 1 für Div 2 Transparent aber nicht für Div 3 | Shwicefoose | CSS | 3 | 29.11.2011 16:47 |
Probleme DIV Höhe, Anordnung | kran | CSS | 4 | 07.11.2010 10:23 |
Die maximale breite wird nicht erkannt | notebook20000 | CSS | 9 | 22.06.2006 20:14 |
div Positionierung bei Browsern | Ancient | CSS | 22 | 17.03.2005 00:49 |