I have a webpage that has both a div and iframe in it.
They overlap each over and the iframe has a PDF as it's src, I want to have
the DIV in front of the iframe but it just doesn't seem to wanna play no
matter what I do.
Is there a way to acheive what I'm after?
Thanks
Gav
<!-- PDF file, Flash object, select/combo box that you want to be underneath
another object -->
<iframe style="position:absolute; left:200px; top:200px; width:150px;
height:150px; background-color:blue; z-index:1;" src="/file.pdf"></iframe>
<!-- element you want to show on top -->
<div style="position:absolute; left:100px; top:100px; width:150px;
height:150px; background-color:blue; z-index:10;"></div>
<!-- put this directly behind (z-index) the element you want to show up;
notice the z-index -->
<iframe style="position:absolute; left:100px; top:100px; width:150px;
height:150px; z-index:9;" src="about:blank"></iframe>
The iframe provides a barrier to block any object below it. That'll be $50,
please! (hehe just kidding..)
--
-Kody
kody at weekendtech dot net
"Custom ASP.Net Web Controls"
"Gav" <sp...@spam.com> wrote in message
news:%23gtXtxh...@TK2MSFTNGP14.phx.gbl...