Hallo,
durch einer Überlagerung zweier Divs möchte ich einem Video einen Rahmen (transparentes gif) verleihen.
Leider funktioniert es nicht, das Video ist immer im Vordergrund.
Hier mal der Code...
html
CSS
Schmeiße ich das Video raus und ersetze es durch ein ganz normales Image, funktioniert die Überlagerung einwandfrei.
Hat jemand eine Idee woran das liegen könnte?
Danke für eure Hilfe
Fenghuang
durch einer Überlagerung zweier Divs möchte ich einem Video einen Rahmen (transparentes gif) verleihen.
Leider funktioniert es nicht, das Video ist immer im Vordergrund.
Hier mal der Code...
html
Code:
<div id="bottom">
<div id="picture">
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="430" width="500">
<param name="src" value="video.avi">
<param name="autoplay" value="true">
<param name="target" value="myself">
<param name="controller" value="false">
<param name="type" value="video/quicktime" height="430" width="500">
<embed src="video.avi" height="430" width="500" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="false" target="myself"></embed>
</object>
</div> <!--end div picture -->
<div id="rahmen">
<img src="rahmen.gif" alt=""/>
</div>
<div id="content">
<h1>Überschrift</h1>
<p>Text</p>
</div><!--end div content -->
</div> <!--end div bottom -->
CSS
Code:
#bottom{
width:1000px;
height: 430px;
}
#picture{
z-index:1;
position:absolute;
left:0;
width:500px;
height:430px;
margin:0;
}
#rahmen{
z-index:2;
position:absolute;
left:0;
width:500px;
height:430px;
}
#content{
position:absolute;
left:550px;
width:450px;
height:300px;
margin-top:95px;
overflow:auto;
}
Hat jemand eine Idee woran das liegen könnte?
Danke für eure Hilfe
Fenghuang