nsad: Layer wird im IE nicht angezeigt

hallo,

mein Problem ist, dass folgender Layer im Internet Explorer nicht angezeigt wird. Mozilla zeigt ihn richtig an.

<div style="position:absolute;left:0px;right:0px;bottom:0px;height:30px;background-color:red;z-index:8;"></div>

Es muss ja an den Stylesheets liegen, aber ich finde nicht heraus, wo das Problem ist.

  1. hi,

    mein Problem ist, dass folgender Layer im Internet Explorer nicht angezeigt wird. Mozilla zeigt ihn richtig an.

    <div style="position:absolute;left:0px;right:0px;bottom:0px;height:30px;background-color:red;z-index:8;"></div>

    Zum x-ten Mal: der IE beherrscht es nicht, die Maße eines absolut positionierten Elementes aus der Vorgabe zweier "gegenüberliegender Koordinaten" zu ermitteln.
    Mache Angaben zu width und/oder height.

    gruß,
    wahsaga

    --
    /voodoo.css:
    #GeorgeWBush { position:absolute; bottom:-6ft; }
    1. Korrektur:

      Mache Angaben zu width und/oder height.

      height hast du ja schon, also ergänze eine width-Angabe, damit dein "Layer" auch eine anzeigbare Breite bekommt.

      gruß,
      wahsaga

      --
      /voodoo.css:
      #GeorgeWBush { position:absolute; bottom:-6ft; }
      1. Mache Angaben zu width und/oder height.

        height hast du ja schon, also ergänze eine width-Angabe, damit dein "Layer" auch eine anzeigbare Breite bekommt.

        Vielen dank, das funktioniert. Eigentlich eine naheliegende Lösung...