Hallo,
und hier das entsprechende CSS File:
[code lang=css]
#main {margin:auto;
border:1px solid #fff;
max-width:70em;
padding:2em;
position:relative;
}
Wofür ist hier position:relative nötig? Peekaboo-Bug Bekämpfung?
span.floatright{
float:right;
background:#000 url(../images/bild2.jpg) 5px 5px no-repeat;
width:330px;
height:190px;
margin-top:0px;
margin-left:10px;
margin-right:20px;
border-top:1px solid #888;
border-left:1px dashed #999;
border-right:1px dashed #999;
border-bottom:1px solid #aaa;
padding:5px;
}
Wenn position:relative im DIV#main nötig ist, muss es hier auch stehen, um dieses Element in den selben z-Layer-Kontext zu heben, wie das DIV#main.
viele Grüße
Axel