ich hab mal ne Frage zum CSS.
Bei dem folgenden Quelltext sollte das Bild über den anderen beiden Balken sein. Das ist er aber nicht. Warum ?
- Code: Alles auswählen
<html>
<body>
<div style="position:absolute; width:1024px; height:20px; background-color:#ededee; z-index:1; margin:auto;"></div><br />
<br />
<div style="position:absolute; width:1024px; height:20px; background-color:#34498f; z-index:1;"></div>
<div style="background-image: url('Pics/Foto_Startseite.png'); width:200px; height:200px; margin-top:-50px; z-index:2;">
</div>
</body>
</html>
Grüße
