embedded youtube video sits in front of dropdown css menu
Posted: Mon Sep 10, 2012 9:02 am
Hi
I have a css menu using the "Navigation: CSSMenu - Horizontal" style sheet for the menu. CMSMS is 1.11.1.
Just below the css drop down menu is an embedded youtube video. The css menu drops behind the youtube video (which I expect is flash).
I have tried the usual z-index and transparency modes for the embed but still cannot fix it.
Here's some of the code:
As you can see I've added an inline z-index:-999 to try to push the flash containing div to the bottom and added z-index:999 to the div containing the menu. I've also added numerous transparency elements to the youtube embed code as per other forum advice.
But the drop down menu still sits under the video.
Any ideas?
All help greatly appreciated.
Thanks, Steven
I have a css menu using the "Navigation: CSSMenu - Horizontal" style sheet for the menu. CMSMS is 1.11.1.
Just below the css drop down menu is an embedded youtube video. The css menu drops behind the youtube video (which I expect is flash).
I have tried the usual z-index and transparency modes for the embed but still cannot fix it.
Here's some of the code:
Code: Select all
<div class="fltlft frontVideo" style="z-index:-999;"><__iframe width="547" height="300" allowtransparency="allowtransparency" wmode="transparent" src="http://www.youtube.com/embed/#######?rel=0?wmode=transparent" frameborder="0" allowfullscreen></__iframe></div>
But the drop down menu still sits under the video.
Any ideas?
All help greatly appreciated.
Thanks, Steven