How can I make iframe respect z-index in IE?

前端 未结 4 1354
南笙
南笙 2021-01-03 22:50

I have a youtube iframe element in my website, but it\'s next to my menu items. When I hover over a menu item, a submenu opens that partially covers the iframe (because of i

4条回答
  •  借酒劲吻你
    2021-01-03 23:10

    Try using Youtubes iframe embed method (if thats not what you are already doing, and add: ?wmode=transparent to the url (replace ? with & if it is not the first url variable)

提交回复
热议问题