# Problem with Layers and Wmode

**URL:** <https://forum.kirupa.com/t/problem-with-layers-and-wmode/22861>\
**Category:** programming\
**Created:** [June 9, 2003, 7:01pm UTC](https://forum.kirupa.com/t/problem-with-layers-and-wmode/22861 "2003-06-09T19:01:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericwebster](https://avatars.discourse-cdn.com/v4/letter/e/ba8739/32.png) [@ericwebster](https://forum.kirupa.com/u/ericwebster)\
**Post date:** [June 9, 2003, 7:01pm UTC](https://forum.kirupa.com/t/problem-with-layers-and-wmode/22861/1 "2003-06-09T19:01:00Z")

</div>

I’m having an issue and its time for me to hit the message boards.

I have an HTML page that has 2 \<DIV\> layers on it. One of them is set to have a z-index depth of 2 and the other is z-index of 3. This all works all in good the layers exist correctly, except when I enable the wmode of the top most layer.

If wmode is set to transparent it then resides behind the z-index 2 layer. Instead of on top of all the layers. I’ve been looking for a bug fix but cannot find one. I can send some source code if need be.

This is a pretty urgent matter, and responses or ideas are GREATLY appreciated.
