PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Darstellungsprobleme im Internet Explorer 8
Beitrag
<blockquote data-quote="blizzart88" data-source="post: 1717083"><p>Halli Hallo,</p><p></p><p>ich habe mal wieder ein Problem. Und zwar wir mein Layout (diverse div-Boxen) im FF zwar richtig, allerdings im IE 8 vollkommen falsch dargestellt.</p><p></p><p>Ich habe das komplette Layout mit margin: 0 auto zentriert, aber im IE wird es linksbündig dargestellt.</p><p></p><p>Hier mal meine CSS-Datei:</p><p>[CODE]</p><p>html {height: 100%;}</p><p></p><p>body {height: 100%;</p><p> margin: 0%;</p><p> padding: 0%;</p><p> background-color: #000000;</p><p> background-image: url(../images/body-bg.png);</p><p> background-repeat: repeat;</p><p> }</p><p></p><p>#wrapper{margin: 0 auto;</p><p> width: 960px;</p><p> background-color: #1B1C19;</p><p> border: none;</p><p> }</p><p></p><p>#header {width: 960px;</p><p> height: 200px;</p><p> margin: 0;</p><p> background-color: #123000;</p><p> background-image: url(../images/header.jpg);</p><p> background-position: top left;</p><p> border: none;}</p><p> </p><p></p><p>#inhalt-container {width: 960px;</p><p> height: 850px;</p><p> min-height: 850px;</p><p> margin: 0;</p><p> background-color: #1B1C19;</p><p> border: none;</p><p> }</p><p></p><p>#inhalt {background-color: #1B1C19;</p><p> border: none;}</p><p></p><p>#footer {width: 960px;</p><p> height: 200px;</p><p> margin: 0;</p><p> background-color: #1B1C19;</p><p> background-image: url(../images/footer.jpg);</p><p> background-position: top left;</p><p> border: none;</p><p> text-align: right;}</p><p></p><p></p><p></p><p>#navi-horizontal {width: 960px;</p><p> height: 50px;</p><p> margin: 0;</p><p> background-color: #34A357;</p><p> background-image: url(../images/navi-horizontal.jpg);</p><p> background-position: top left;</p><p> border: none;</p><p> }</p><p></p><p>#navi-vertikal {}</p><p></p><p>#formular {width: 600px;</p><p> height: 600px;</p><p> background-color: #828282;</p><p> background-image: url(../images/formular-bg.jpg);</p><p> background-position: top left;</p><p> border: 2px dashed #333333;</p><p> }</p><p> </p><p>#fehler-container {margin: 0 auto;</p><p> margin-top: 50px;</p><p> margin-bottom: 50px;</p><p> width: 800px;</p><p> height: 600px;</p><p> min-height: 600px;</p><p> background-color: #1B1C19;</p><p> background-image: url(../images/404-bg.jpg);</p><p> background-position: bottom left;</p><p> border: 2px solid black;</p><p> }</p><p> </p><p>#fehler-left {width: 300px;</p><p> height: 600px;</p><p> background-color: none;</p><p> border: none;</p><p> float: left;</p><p> }</p><p></p><p>#fehler-right {width: 500px;</p><p> height: 600px;</p><p> background-color: none;</p><p> border: none;</p><p> } </p><p></p><p>#clearleft {clear:left;}</p><p></p><p>#clearright {clear:right;}</p><p></p><p>#clearboth {clear:both;}</p><p></p><p>p {font-family: Courier New, monospace;</p><p> font-size: 14px;</p><p> color: #384505;}</p><p> </p><p>.textrechts {font-family: Courier New, monospace;</p><p> font-size: 11px;</p><p> color: #4F5E13;</p><p> text-align: right;</p><p> margin-right: 10px;</p><p> }</p><p> </p><p>.textrechts404 {font-family: Courier New, monospace;</p><p> font-size: 11px;</p><p> color: #4F5E13;</p><p> text-align: right;</p><p> margin-right: 10px;</p><p> margin-top: 580px;</p><p> }</p><p></p><p>h1 {font-family: Courier New, monospace;</p><p> color: #384505;}</p><p></p><p>h2 {font-family: Courier New, monospace;</p><p> color: #384505;}</p><p></p><p>h3 {font-family: Courier New, monospace;</p><p> color: #384505;}</p><p></p><p>h4 {font-family: Courier New, monospace;</p><p> color: #384505;}</p><p></p><p>h5 {font-family: Courier New, monospace;</p><p> color: #384505;}</p><p></p><p>h6 {font-family: Courier New, monospace;</p><p> color: #384505;}</p><p></p><p>a {font-family: Courier New, monospace;</p><p> font-size: 14px;</p><p> font-weight: bold;</p><p> text-decoration: none;</p><p> color: #5C7300;</p><p> }</p><p></p><p>a:hover {font-family: Courier New, monospace;</p><p> font-size: 14px;</p><p> font-weight: bold;</p><p> text-decoration: underline overline;</p><p> color: #BF8600;</p><p> }</p><p> </p><p>a.footer {font-family: Arial, serif;</p><p> font-size: 10px;</p><p> font-weight: bold;</p><p> text-decoration: none;</p><p> color: #5C7300;</p><p> }</p><p></p><p>a.footer:hover {font-family: Arial, serif;</p><p> font-size: 10px;</p><p> font-weight: bold;</p><p> text-decoration: underline overline;</p><p> color: #BF8600;</p><p> }</p><p> </p><p>label {font-family: Courier New, monospace;</p><p> font-size: 14px;</p><p> font-weight: bold;</p><p> color: #FFFFFF;</p><p> }</p><p> </p><p>legend {font-family: Courier New, monospace;</p><p> font-size: 14px;</p><p> font-weight: bold;</p><p> color: #FFFFFF;</p><p> }</p><p> </p><p>.search {border: none;</p><p> height: 16px;</p><p> background-color: #FFFFFF;</p><p> background-image: url(form-bg.jpg);</p><p> color: #70A300;</p><p> font-size: 10px;</p><p> font-weight: bold;</p><p> font-family: Arial, serif;</p><p> }</p><p> </p><p>.input1 {width: 300px;</p><p> height: 22px;</p><p> border: 1px solid #000052;</p><p> font-family: Arial, sans-serif;</p><p> color: 00008C;</p><p> font-size: 12px;</p><p> background-image: url(../images/input1-bg.jpg);</p><p> background-color: CFF9FF</p><p> }</p><p> </p><p>.senden {border: 1px solid #000052;</p><p> height: 16px;</p><p> background-color: #FFFFFF;</p><p> background-image: url(form-bg.jpg);</p><p> color: #70A300;</p><p> font-size: 10px;</p><p> font-weight: bold;</p><p> font-family: Arial, serif;</p><p> }</p><p> </p><p> </p><p>.textarea1 {width: 600px;</p><p> height: 600px;</p><p> border: 1px solid #000052;</p><p> font-family: Arial, sans-serif;</p><p> color: 00008C;</p><p> font-size: 10px;</p><p> background-image: url(../images/textarea1-bg.jpg);</p><p> background-color: CFF9FF</p><p> }</p><p> [/CODE]</p><p></p><p>und meine Index.php</p><p>[CODE]<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"></p><p></p><p><html></p><p><head></p><p><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></p><p></p><p><title></title></p><p></p><p><link rel="stylesheet" type="text/css" href="css/css.css"></p><p></p><p><link rel="icon" href="../../favicon.ico" type="image/ico"></p><p></p><p></p><p></head></p><p></p><p></p><p><body></p><p></p><p><div id="wrapper"></p><p> </p><p> <div id="header"></p><p> </div></p><p> </p><p> <div id="navi-horizontal"></p><p> </div></p><p> </p><p> <div id="inhalt-container"></p><p> <h3>Test</h3></p><p> </div></p><p> </p><p> <div id="footer"></p><p> </p><p> <p class="textrechts"><b>&copy;</b> <?php echo date(Y); ?> | <a class="footer" href="http://www.imperium-bomanum.de" target="_self">IMPERIUM-BOMANUM.DE</a></p></p><p> </p><p> </div></p><p> </p><p></div></p><p></p><p></p><p></p><p></p><p></body></p><p></html></p><p>[/CODE]</p><p></p><p>Ich verzweifel hier noch. Wie krieg ich das im IE genauso hin, wie im FF.</p><p></p><p>Dank im Voraus.</p></blockquote><p></p>
[QUOTE="blizzart88, post: 1717083"] Halli Hallo, ich habe mal wieder ein Problem. Und zwar wir mein Layout (diverse div-Boxen) im FF zwar richtig, allerdings im IE 8 vollkommen falsch dargestellt. Ich habe das komplette Layout mit margin: 0 auto zentriert, aber im IE wird es linksbündig dargestellt. Hier mal meine CSS-Datei: [CODE] html {height: 100%;} body {height: 100%; margin: 0%; padding: 0%; background-color: #000000; background-image: url(../images/body-bg.png); background-repeat: repeat; } #wrapper{margin: 0 auto; width: 960px; background-color: #1B1C19; border: none; } #header {width: 960px; height: 200px; margin: 0; background-color: #123000; background-image: url(../images/header.jpg); background-position: top left; border: none;} #inhalt-container {width: 960px; height: 850px; min-height: 850px; margin: 0; background-color: #1B1C19; border: none; } #inhalt {background-color: #1B1C19; border: none;} #footer {width: 960px; height: 200px; margin: 0; background-color: #1B1C19; background-image: url(../images/footer.jpg); background-position: top left; border: none; text-align: right;} #navi-horizontal {width: 960px; height: 50px; margin: 0; background-color: #34A357; background-image: url(../images/navi-horizontal.jpg); background-position: top left; border: none; } #navi-vertikal {} #formular {width: 600px; height: 600px; background-color: #828282; background-image: url(../images/formular-bg.jpg); background-position: top left; border: 2px dashed #333333; } #fehler-container {margin: 0 auto; margin-top: 50px; margin-bottom: 50px; width: 800px; height: 600px; min-height: 600px; background-color: #1B1C19; background-image: url(../images/404-bg.jpg); background-position: bottom left; border: 2px solid black; } #fehler-left {width: 300px; height: 600px; background-color: none; border: none; float: left; } #fehler-right {width: 500px; height: 600px; background-color: none; border: none; } #clearleft {clear:left;} #clearright {clear:right;} #clearboth {clear:both;} p {font-family: Courier New, monospace; font-size: 14px; color: #384505;} .textrechts {font-family: Courier New, monospace; font-size: 11px; color: #4F5E13; text-align: right; margin-right: 10px; } .textrechts404 {font-family: Courier New, monospace; font-size: 11px; color: #4F5E13; text-align: right; margin-right: 10px; margin-top: 580px; } h1 {font-family: Courier New, monospace; color: #384505;} h2 {font-family: Courier New, monospace; color: #384505;} h3 {font-family: Courier New, monospace; color: #384505;} h4 {font-family: Courier New, monospace; color: #384505;} h5 {font-family: Courier New, monospace; color: #384505;} h6 {font-family: Courier New, monospace; color: #384505;} a {font-family: Courier New, monospace; font-size: 14px; font-weight: bold; text-decoration: none; color: #5C7300; } a:hover {font-family: Courier New, monospace; font-size: 14px; font-weight: bold; text-decoration: underline overline; color: #BF8600; } a.footer {font-family: Arial, serif; font-size: 10px; font-weight: bold; text-decoration: none; color: #5C7300; } a.footer:hover {font-family: Arial, serif; font-size: 10px; font-weight: bold; text-decoration: underline overline; color: #BF8600; } label {font-family: Courier New, monospace; font-size: 14px; font-weight: bold; color: #FFFFFF; } legend {font-family: Courier New, monospace; font-size: 14px; font-weight: bold; color: #FFFFFF; } .search {border: none; height: 16px; background-color: #FFFFFF; background-image: url(form-bg.jpg); color: #70A300; font-size: 10px; font-weight: bold; font-family: Arial, serif; } .input1 {width: 300px; height: 22px; border: 1px solid #000052; font-family: Arial, sans-serif; color: 00008C; font-size: 12px; background-image: url(../images/input1-bg.jpg); background-color: CFF9FF } .senden {border: 1px solid #000052; height: 16px; background-color: #FFFFFF; background-image: url(form-bg.jpg); color: #70A300; font-size: 10px; font-weight: bold; font-family: Arial, serif; } .textarea1 {width: 600px; height: 600px; border: 1px solid #000052; font-family: Arial, sans-serif; color: 00008C; font-size: 10px; background-image: url(../images/textarea1-bg.jpg); background-color: CFF9FF } [/CODE] und meine Index.php [CODE]<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title></title> <link rel="stylesheet" type="text/css" href="css/css.css"> <link rel="icon" href="../../favicon.ico" type="image/ico"> </head> <body> <div id="wrapper"> <div id="header"> </div> <div id="navi-horizontal"> </div> <div id="inhalt-container"> <h3>Test</h3> </div> <div id="footer"> <p class="textrechts"><b>©</b> <?php echo date(Y); ?> | <a class="footer" href="http://www.imperium-bomanum.de" target="_self">IMPERIUM-BOMANUM.DE</a></p> </div> </div> </body> </html> [/CODE] Ich verzweifel hier noch. Wie krieg ich das im IE genauso hin, wie im FF. Dank im Voraus. [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 7, ▼ = 3, ◇ = 2 und die Summe von ▲ und ▼ durch ◇ geteilt wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Darstellungsprobleme im Internet Explorer 8
Oben