# Layering a DIV container on top of a Flash object

**URL:** https://forum.kirupa.com/t/layering-a-div-container-on-top-of-a-flash-object/69623
**Category:** flash
**Created:** [November 6, 2004, 12:47am UTC](https://forum.kirupa.com/t/layering-a-div-container-on-top-of-a-flash-object/69623 "2004-11-06T00:47:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![marc0047](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@marc0047](https://forum.kirupa.com/u/marc0047)
#### Post date: [November 6, 2004, 12:47am UTC](https://forum.kirupa.com/t/layering-a-div-container-on-top-of-a-flash-object/69623/1 "2004-11-06T00:47:18Z")

</div>

I was curious to know if there is a workaround for layering a \<div\> container on top of a Flash object?

This is my current code:

\<div style=“position: absolute; z-index: 5; left: 100px;”\>  
\<OBJECT classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0)” WIDTH=“200” HEIGHT=“200” id=“sq” ALIGN=""\>  
\<PARAM NAME=movie VALUE=“sq.swf”\>  
\<PARAM NAME=quality VALUE=high\>  
\<PARAM NAME=bgcolor VALUE=#FFFFFF\>  
\<EMBED src=“sq.swf” quality=high bgcolor=#FFFFFF WIDTH=“200” HEIGHT=“200” NAME=“sq” ALIGN="" TYPE=“application/x-shockwave-flash” PLUGINSPAGE=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)”\>\</EMBED\>  
\</OBJECT\>  
\</div\>

\<div style=“position: absolute; z-index: 10; border: 1px solid black; left: 50px;”\>I am a div container\</div\>
