z-index Problem mit IE

Status
Nicht offen für weitere Antworten.

saila

Erfahrenes Mitglied
Hi,

folgender CSS-Code:
Code:
HTML, BODY {
	background: #dbdbdb;
	margin: 0px 0px 0px 0px;
	}

#content {
	margin-left: auto;
	margin-right: auto;
	height: 100%;
	width: 886px;
	\width: 866px;
	w\idth: 886px;
	background: #e7d3b4;
	}

#center {
	position: absolute;
	top: 20px;
	left: auto;
	right: auto;
	width: 886px;
	\width: 866px;
	w\idth: 886px;
	height: 100px;
	background: #0043b3;
	z-index: 2;
	}

#vertic {
	position: absolute;
	margin-left: 10px;
	margin-bottom: 0px;
	width: 200px;
	\width: 200px;
	w\idth: 200px;
	height: 100%;

	background: #f8b356;
	filter: alpha(opacity=80);
	-moz-opacity:0.8;
	z-index: 1;
	}

#horiz {
	position: absolute;
	margin-left: 50px;
	margin-top: 80px;
	height: 50px;
	width: 348px;
	\width: 348px;
	w\idth: 348px;
	background: #88be67;
	filter: alpha(opacity=60);
	-moz-opacity:0.6;
	z-index: 3;
	}

wird in allen Browsern bis auf IE korrekt angezeigt. Wo liegt das Problem?
 
Und was genau funktioniert im IE nicht wie gewünscht? Bei mir werden die Schichtpositionen im IE korrekt interpretiert.


[editpost]

Vielleicht hilft dir auch folgende Ergänzung im Stylesheet weiter, damit die Ebenen mit der 100%-Höhe dargestellt werden:

Code:
HTML, BODY {
        background: #dbdbdb;
        margin: 0px 0px 0px 0px;
        height: 100%;
        }
 
Status
Nicht offen für weitere Antworten.
Zurück