Melzmann: height Problem mit IE

Hallo Community,
ich möchte einen div layer im IE erzeugen der vom oberen Rand 157 Pixel abstand hat und vom unteren Rand 0 Pixel.
Im FF würde ich dies über top:157px und bottom:0px erzielen. Jedoch hat ja leider der IE den bekannten height BUG.
und mit

  
height:2000px;  
max-height:100%;  
min-height:100%;  
bottom:0px;  

oder

  
height:2000px;  
max-height:100%;  
min-height:100%;  
top:157px;  

oder mit

  
height:2000px;  
max-height:100%;  
min-height:100%;  
bottom:0px;  
top:157px;  

Kann ich diesen Effekt nicht erzielen. Gibt es da eine Lösungsmöglichkeit?
Mir ist leider keine bekannt...
Ich hoffe ihr könnt mir helfen.

  1. Hi,

    ich möchte einen div layer im IE erzeugen der vom oberen Rand 157 Pixel abstand hat und vom unteren Rand 0 Pixel.

    und wie wäre es mit 100% Höhe und 157px padding-top?

    freundliche Grüße
    Ingo

  2. hi

    also du machst einen zweiten layer hinein:

    <div class="layer1"><div class="box2"></div>

    css:

    .layer1{
     position:absolute;
    top:157px;
    bottom:0px;
    }

    .box2 {
       min-height:600px;
       height:600px;
    }
    div[class] .box2 {
       height:auto;
    }

    gruss

    Hallo Community,
    ich möchte einen div layer im IE erzeugen der vom oberen Rand 157 Pixel abstand hat und vom unteren Rand 0 Pixel.
    Im FF würde ich dies über top:157px und bottom:0px erzielen. Jedoch hat ja leider der IE den bekannten height BUG.
    und mit

    height:2000px;
    max-height:100%;
    min-height:100%;
    bottom:0px;

    
    > oder  
    > ~~~css
      
    
    > height:2000px;  
    > max-height:100%;  
    > min-height:100%;  
    > top:157px;  
    > 
    
    

    oder mit

    height:2000px;
    max-height:100%;
    min-height:100%;
    bottom:0px;
    top:157px;

    
    >   
    > Kann ich diesen Effekt nicht erzielen. Gibt es da eine Lösungsmöglichkeit?  
    > Mir ist leider keine bekannt...  
    > Ich hoffe ihr könnt mir helfen.