Kleinigkeiten werden vom Firefox nichtmal korrekt dagestellt

  • Oder vom IE wie auch immer

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
    <head>
    <title>Willkommen</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <link href="design.css" type="text/css" rel="stylesheet" />
    <link href="/img/favicon.ico" type="image/x-icon" rel="shortcut icon" />
    </head>
    <body>
    <div class="inhalt">
    <div class="top-left">
    </div>
    <div class="top-center">
    </div>



    </div>
    </body>
    </html>

    css

    * {
    margin: 0px;
    }
    div.inhalt {
    width: auto;
    height: 733px;
    background-color: #000000;
    margin: auto;
    }
    div.top-left {
    width: 150px;
    height: 150px;
    background-color: #FFFFFF;
    float: left;
    margin: 13px 0 0 13px;
    }
    div.top-center {
    width: 450px;
    height: 150px;
    background-color: #FF0000;
    float: left;
    margin: 13px 0 0 13px;
    position: fixed;
    }


    Das sind dann so meine html/css problemchen.....http://xtel4.com

    Einmal editiert, zuletzt von reeperbahner11 (5. Juni 2009 um 11:34)

  • Ok, aber wir werden nicht schlau aus deiner Frage, wenn du nicht erklärst, was du eigentlich willst.. Ich weiss jetzt nicht, was du erreich willst.
    Ich sehe nur irgendeien schwarze Seite ohne Logik.

    Bitte erkläre dein Problemchen

    - MFG firefox5.0

  • Danke für deine Antwort. Das ist vorerst nur zum testen gedacht.

    ich habe es aber mittlerweile gelöst indem ich einfach top-left und top-centerdivs in ein div gepackt habe:D

    habe es irgendwie gestern nicht gecheckt. Trotzdem danke