Ankündigung

Einklappen
Keine Ankündigung bisher.

IE6 merkwürdiger Abstand

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • IE6 merkwürdiger Abstand

    Hallo,

    Der CSS Code funktioniert in allen gängigen Browsern einschließlich IE7. Leider macht der IE6 Probleme und macht bei den Divs ein mir unerklärlichen Abstand?

    <style type="text/css">
    html {
    height:100%;
    }

    * {
    padding:0pt;
    margin:0pt;
    }

    body {
    background:#010080 url(img/Slice21.jpg) repeat-y center top;
    margin:0px;
    }

    #seite {
    margin:0pt auto;
    width:692px;
    padding-top:30px;
    padding-left:9px;
    padding-right:9px;
    clear:both;
    }

    #logo {
    background:transparent url(img/Slice3.jpg) no-repeat;
    width:242px;
    height:32px;
    float:left;

    }

    #uhrzeit {
    padding-top:15px;
    text-align:right;

    }



    #trennlinie {
    background:transparent url(img/Slice7.jpg) repeat-x;
    height:4px;
    margin-top:5px;
    margin-bottom:10px;
    clear:both;
    }

    #menue_links {
    float:left;
    width:252px;
    }

    #menue_rechts {
    float:right;
    width:440px;
    }

    #menue_rechts_content {
    background:transparent url(img/Slice6.jpg) no-repeat;
    width:440px;
    height:194px;
    }

    #menue_links_content_oben {
    background:transparent url(img/Slice1.jpg) no-repeat;
    width:252px;
    height:7px;
    }

    #menue_links_content_mitte {
    background:transparent url(img/Slice2.jpg) repeat-y;
    width:252px;
    height:180px;
    }

    #menue_links_content_unten {
    background:transparent url(img/Slice4.jpg) no-repeat;
    width:252px;
    height:7px;
    }

    #content_oben {
    background:transparent url(img/Slice9.jpg) no-repeat;
    width:693px;
    height:16px;
    }

    #content_mitte {
    background:transparent url(img/Slice11.jpg) repeat-y;
    width:693px;
    margin:0px;
    padding:0px;
    }

    #content {
    clear:both;
    }
    </style>

  • #2
    AW: IE6 merkwürdiger Abstand

    Damit kann man nicht viel anfangen, weil der Zusammenhang mit dem HTML-Code fehlt.
    Haben deine HTML-Dateien einen qualifizierten Doctype?

    sigpic

    sejumas CSS-Einsteigerkurs

    Kommentar


    • #3
      AW: IE6 merkwürdiger Abstand

      poste doch mal bitte nen link zu deiner Homepage ...
      Gruß,
      Tomi28
      Meine Homepage | "Kreuz & Mehr" | Jugendhaus ORANGE

      Kommentar


      • #4
        AW: IE6 merkwürdiger Abstand

        Hallo,

        Da ich noch JavaScript verwende, "nur" Transitional!

        <!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>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Ratzfatxxxn - Vertrauen Sie uns, wir tuen es auch !</title>
        <style type="text/css">
        html {
        height:100%;
        }

        * {
        padding:0pt;
        margin:0pt;
        }

        body {
        background:#010080 url(img/Slice21.jpg) repeat-y center top;
        margin:0px;
        }

        #seite {
        margin:0pt auto;
        width:692px;
        padding-top:30px;
        padding-left:9px;
        padding-right:9px;
        }

        #logo {
        background:transparent url(img/Slice3.jpg) no-repeat;
        width:242px;
        height:32px;
        float:left;

        }

        #uhrzeit {
        padding-top:15px;
        text-align:right;

        }



        #trennlinie {
        background:transparent url(img/Slice7.jpg) repeat-x;
        height:4px;
        margin-top:5px;
        margin-bottom:10px;
        clear:both;
        }

        #menue_links {
        float:left;
        width:252px;
        }

        #menue_rechts {
        float:right;
        width:440px;
        }

        #menue_rechts_content {
        background:transparent url(img/Slice6.jpg) no-repeat;
        width:440px;
        height:194px;
        }

        #menue_links_content_oben {
        background:transparent url(img/Slice1.jpg) no-repeat;
        width:252px;
        height:7px;
        }

        #menue_links_content_mitte {
        background:transparent url(img/Slice2.jpg) repeat-y;
        width:252px;
        height:180px;
        }

        #menue_links_content_unten {
        background:transparent url(img/Slice4.jpg) no-repeat;
        width:252px;
        height:7px;
        }

        #content_oben {
        background:transparent url(img/Slice9.jpg) no-repeat;
        width:693px;
        height:16px;
        }

        #content_mitte {
        background:transparent url(img/Slice11.jpg) repeat-y;
        width:693px;
        margin:0px;
        padding:0px;
        }

        #content {
        clear:both;
        }


        </style>
        </head>


        <body>
        <div id="seite">
        <div id="logo"></div>
        <div id="uhrzeit">28.September.2007</div>
        <div id="trennlinie"></div>
        <div id="menue_links">
        <div id="menue_links_content_oben"></div>
        <div id="menue_links_content_mitte"></div>
        <div id="menue_links_content_unten"></div>
        </div>
        <div id="menue_rechts">
        <div id="menue_rechts_content"></div>
        </div>
        <div id="content">
        <div id="content_oben"></div>
        <div id="content_mitte"></div>
        </div>
        </div>
        </body>
        </html>

        Kommentar

        homepage-forum.de - Hilfe für Webmaster! Statistiken

        Einklappen

        Themen: 57.203   Beiträge: 432.036   Mitglieder: 29.639   Aktive Mitglieder: 30
        Willkommen an unser neuestes Mitglied, Shalin.

        Online-Benutzer

        Einklappen

        696 Benutzer sind jetzt online. Registrierte Benutzer: 1, Gäste: 695.

        Mit 9.939 Benutzern waren am 17.05.2023 um 21:38 die meisten Benutzer gleichzeitig online.

        Die neuesten Themen

        Einklappen

        Die neuesten Beiträge

        Einklappen

        Lädt...
        X