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...
CSS hilfe für IE 5 und 6
Beitrag
<blockquote data-quote="Vansoul" data-source="post: 1697579" data-attributes="member: 463252"><p><span style="font-size: 10px">Hallo Leute,</span></p><p> <span style="font-size: 10px">vielleicht kann mir einer das Mal erklären, sodass ich Anfänger das auch verstehe.</span></p><p> <span style="font-size: 10px">Ich bin gerade dabei für eine Freundin Ihre Webseite neu zu erstellen und habe ein kleines Problem mit der Darstellung im IE 5 und 6. Das ist meine erste Seite mit reinem CSS und nicht wie sonst Tabellenlayout in Kombination mit Ebenen.</span></p><p> <span style="font-size: 10px">Die Nachmittage mit Google haben zwar mir was zum Lesen gebracht und probieren, aber zum Erfolg hat es nicht gelangt. Ich weiß ich könnte auch sagen, wer noch alte Browser hat, der hat Pech. Aber dass wollen wir ja auch nicht.</span></p><p> <span style="font-size: 10px">Falls jemand einen Tipp hat wäre ich Ihn dankbar.</span></p><p> </p><p> <span style="font-size: 10px">Gruß Rogér</span></p><p></p><p></p><p></p><p>CSS</p><p>[CODE]*{</p><p>margin:0;</p><p>padding:0;</p><p>}</p><p></p><p>body { </p><p> background-image: url(../Hompage-Bilder/Backgroundpic.gif); </p><p> background-repeat: repeat; </p><p> width: 100%; </p><p> height: 100%; </p><p> margin: 0; </p><p> padding: 0; }</p><p></p><p>h1 { </p><p> color: #bacd9a; </p><p> font-size: 18px; </p><p> font-family: Verdana, Arial, Helvetica, sans-serif; </p><p> font-weight: bold; </p><p> font-style: normal; </p><p> line-height: 22px; </p><p> text-align: left; </p><p> margin: 50px 0 16px; </p><p> padding: 10px 0 5px 0; </p><p> border-bottom: 1px solid #333; }</p><p> </p><p>h2 { </p><p> color: #bacd9a; </p><p> font-size: 16px; </p><p> font-family: Verdana, Arial, Helvetica, sans-serif; </p><p> font-weight: bold; </p><p> font-style: normal; </p><p> line-height: 18px; </p><p> text-align: left; </p><p> margin: 30px 0 16px; </p><p> padding: 0 0 5px 0; </p><p> border-bottom: 1px solid #333; }</p><p> </p><p>h3 { </p><p> color: #bacd9a; </p><p> font-size: 12px; </p><p> font-family: Verdana, Arial, Helvetica, sans-serif; </p><p> font-weight: normal; </p><p> font-style: normal; </p><p> line-height: 14px; </p><p> text-align: left; </p><p> margin: 1px 0 10px; </p><p> padding: 0; }</p><p> </p><p>p { </p><p> color: #fff; </p><p> font: 11px/14px Verdana, Arial, Helvetica, sans-serif; </p><p> text-align: left; </p><p> margin: 0 0 20px; </p><p> padding: 0; }</p><p></p><p>#box { </p><p> background-image: url(../Hompage-Bilder/Mainpic.gif); </p><p> width: 980px; </p><p> height: auto; </p><p> margin: 0 auto; }</p><p></p><p></p><p></p><p>#header { </p><p> background-image: url(../Hompage-Bilder/Headpic.gif); </p><p> background-repeat: no-repeat; </p><p> width: 980px; </p><p> height: 260px; }</p><p></p><p></p><p></p><p>#content { </p><p> width: 980px; </p><p> height: auto; }</p><p></p><p></p><p></p><p>#sidebar { </p><p> width: 180px; </p><p> height: auto; </p><p> float: left; </p><p> margin-top: 0; </p><p> margin-left: 100px; </p><p> padding: 0; }</p><p></p><p></p><p></p><p>#contentarea { </p><p> width: 560px; </p><p> height: auto; </p><p> float: right; </p><p> margin-right: 80px; }</p><p></p><p>#box1 { </p><p> text-align: left; </p><p> width: 150px; </p><p> height: 160px; </p><p> margin:10px 0 10px 10px; </p><p> padding: 0 0 0 10px; </p><p> float: left; }</p><p></p><p>#box1l { </p><p> text-align: left; </p><p> width: 150px; </p><p> height: 160px; </p><p> margin:10px 0 10px 10px; </p><p> padding: 0 0 0 10px; </p><p> float: left; </p><p> border-left: 1px solid #333; }</p><p></p><p>#box2 { </p><p> text-align: left; </p><p> width: 200px; </p><p> height: 300px; </p><p> margin: 0; </p><p> padding: 0; </p><p> float: right; }</p><p></p><p>div.clear {</p><p> clear: both;</p><p> height: 0;</p><p> font-size: 0;</p><p> margin: 0;</p><p> padding: 0; }</p><p></p><p></p><p></p><p>#footer { </p><p> background-image: url(../Hompage-Bilder/Footerpic.gif); </p><p> background-repeat: no-repeat; </p><p> clear: both; </p><p> width: 980px; </p><p> height: 130px; }</p><p></p><p></p><p>#navcontainer </p><p>{ width: 180px; padding: 0; color: #333; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; height: auto; margin-top: 50px; }</p><p></p><p>#navcontainer ul</p><p>{ height: 35px; list-style: none; margin: 0; padding: 0; }</p><p></p><p>#navcontainer li</p><p>{ height: 35px; margin: 2px 0 0; }</p><p></p><p>#navcontainer li a</p><p>{ display: block; color: #bacd9a; background-image: url(../Hompage-Bilder/button_vert.gif); background-repeat: no-repeat; text-decoration: none; width: 100%; height: 35px; margin-top: 2px; padding-top: 10px; padding-left: 20px; }</p><p></p><p>html>body #navcontainer li a { width: auto; }</p><p></p><p>#navcontainer li a:hover</p><p>{ color: #fff; background-image: url(../Hompage-Bilder/button_vert_over.gif); background-repeat: no-repeat; height: 35px; margin-top: 2px; }</p><p></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Vansoul, post: 1697579, member: 463252"] [SIZE=2]Hallo Leute,[/SIZE] [SIZE=2]vielleicht kann mir einer das Mal erklären, sodass ich Anfänger das auch verstehe.[/SIZE] [SIZE=2]Ich bin gerade dabei für eine Freundin Ihre Webseite neu zu erstellen und habe ein kleines Problem mit der Darstellung im IE 5 und 6. Das ist meine erste Seite mit reinem CSS und nicht wie sonst Tabellenlayout in Kombination mit Ebenen.[/SIZE] [SIZE=2]Die Nachmittage mit Google haben zwar mir was zum Lesen gebracht und probieren, aber zum Erfolg hat es nicht gelangt. Ich weiß ich könnte auch sagen, wer noch alte Browser hat, der hat Pech. Aber dass wollen wir ja auch nicht.[/SIZE] [SIZE=2]Falls jemand einen Tipp hat wäre ich Ihn dankbar.[/SIZE] [SIZE=2]Gruß Rogér[/SIZE] CSS [CODE]*{ margin:0; padding:0; } body { background-image: url(../Hompage-Bilder/Backgroundpic.gif); background-repeat: repeat; width: 100%; height: 100%; margin: 0; padding: 0; } h1 { color: #bacd9a; font-size: 18px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-style: normal; line-height: 22px; text-align: left; margin: 50px 0 16px; padding: 10px 0 5px 0; border-bottom: 1px solid #333; } h2 { color: #bacd9a; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-style: normal; line-height: 18px; text-align: left; margin: 30px 0 16px; padding: 0 0 5px 0; border-bottom: 1px solid #333; } h3 { color: #bacd9a; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; line-height: 14px; text-align: left; margin: 1px 0 10px; padding: 0; } p { color: #fff; font: 11px/14px Verdana, Arial, Helvetica, sans-serif; text-align: left; margin: 0 0 20px; padding: 0; } #box { background-image: url(../Hompage-Bilder/Mainpic.gif); width: 980px; height: auto; margin: 0 auto; } #header { background-image: url(../Hompage-Bilder/Headpic.gif); background-repeat: no-repeat; width: 980px; height: 260px; } #content { width: 980px; height: auto; } #sidebar { width: 180px; height: auto; float: left; margin-top: 0; margin-left: 100px; padding: 0; } #contentarea { width: 560px; height: auto; float: right; margin-right: 80px; } #box1 { text-align: left; width: 150px; height: 160px; margin:10px 0 10px 10px; padding: 0 0 0 10px; float: left; } #box1l { text-align: left; width: 150px; height: 160px; margin:10px 0 10px 10px; padding: 0 0 0 10px; float: left; border-left: 1px solid #333; } #box2 { text-align: left; width: 200px; height: 300px; margin: 0; padding: 0; float: right; } div.clear { clear: both; height: 0; font-size: 0; margin: 0; padding: 0; } #footer { background-image: url(../Hompage-Bilder/Footerpic.gif); background-repeat: no-repeat; clear: both; width: 980px; height: 130px; } #navcontainer { width: 180px; padding: 0; color: #333; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; height: auto; margin-top: 50px; } #navcontainer ul { height: 35px; list-style: none; margin: 0; padding: 0; } #navcontainer li { height: 35px; margin: 2px 0 0; } #navcontainer li a { display: block; color: #bacd9a; background-image: url(../Hompage-Bilder/button_vert.gif); background-repeat: no-repeat; text-decoration: none; width: 100%; height: 35px; margin-top: 2px; padding-top: 10px; padding-left: 20px; } html>body #navcontainer li a { width: auto; } #navcontainer li a:hover { color: #fff; background-image: url(../Hompage-Bilder/button_vert_over.gif); background-repeat: no-repeat; height: 35px; margin-top: 2px; } [/CODE] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ★ = 12, ◇ = 4 und die Hälfte von ★ zu ◇ addiert wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
CSS hilfe für IE 5 und 6
Oben