Hallo ihr da draußen!
Habe bereits http://dotnetjunkies.com/WebLog/jking/archive/2003/07/21/488.aspx gelesen und verstanden. Funktioniert soweit auch alles super, solange man den DIV (der die Select Box enthält) nicht scrollen kann. Erzeuge ich jedoch eine Scrollbar und scrolle ist der Workaround nichtig.
Hat jemand eine Lösung??? (IE6!)
Code:
<html>
<head>
<style type="text/css">
.content {
overflow:auto;
width: 200px;
height: 200px;
z-index: 1;
}
</style>
</head>
<body>
<iframe style="display: visible; position: absolute; height: 10px; width: 100px; top: 30px; left: 20px; z-index: 998;" src="javascript:false;" frameBorder="0" scrolling="no"></iframe>
<div style="background-color: red; height: 10px; width: 100px; top: 30px; left: 20px; border: 1px solid black; position: absolute; z-index: 999">
Div should be over the Select Box
</div>
<div class="content">
<div style="width: 300px; height:500px; padding-top: 100px;">
<select>
<option>SELECTBOX</option>
</select>
</div>
</div>
</body>
</html>