Thomas J.S.: zIndex beim Internet Explorer auslesen.

Beitrag lesen

Hallo!

<style type="text/css">
  P { z-index:2; }
</style>
</head>
<body>
<p id="etwas">
bla bla bla
</p>
<script>
alert(etwas.currentStyle.zIndex)
</script>
</body>

das gib schön 2 aus.

Grüße
Thomas