• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Probleme mit Position: absolute!

Witschi262

Blogger
Hallo,
ich habe ein Problem, mit Position absolute:
Code:
body {
    background:#7598ad;
    font-family:Tahoma, Geneva, sans-serif;
    font-size:11px;
    color:#092638;
    border:0px;
    background:url(../images/Design/background.png);

}




img {
    border:0px;
}
/*Menü*/

.Menu {
    position:absolute;
    right:261px;
    top:115px;
    height:35px;
    z-index:9;
    
}

    #Icon {
        position:relative;
        float:left;
        top:-25px;
        margin-left:15px;
        z-index:900;
    }
        
    .Icon {
        position: relative;
        z-index:900;
    }
/*Genau hier, ist das Problem!*/
#navileiste {
height:45px;
background-image: url(../images/Design/leiste.PNG);
background-repeat: repeat-x repeat-y;
margin-top: 70px;
position: absolute;
}

/*Lauftext*/
#bubble {
height:22px;
background-image: url(../images/Design/bubble.png);
background-repeat:no-repeat;
margin-top: 5px;
padding-left:75px;
padding-top:4px;
padding-right:375px;
}

Wenn ich Position: absolute; setze, wird das Bild nichtmehr angezeigt.Wenn ich nun absolute wegmache, wird das Bild angezeigt.
Wo liegt das Probölem?
 
Dann lass die absolute Positionierung doch weg, die ist eh meistens unnötig.

Für genaueres wäre ein Link zur Seite nicht schlecht.
 
Zurück
Oben