MrRSMan
02-23-2008, 06:19 PM
I have a page with 2 divs on it. Inside one of these divs is an iframe.
Now, i want to add another div to the page, but have it show on top of the iframe.
I've tried using z-index, but all that does is make the div appear on top of the other div (the one without the iframe in it).
I can't for the life of me make a div show ON TOP OF an iframe. It must be possible...
<html>
<body>
<div id="1">
<iframe id="navbar_act" src="../navbar.htm" scrolling="no" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>
</div>
<div id="2">
Blah blah blah
</div>
<div id="3">
Help me!
</div>
</body>
</html>
Note: I'm using CSS for positioning, etc- hence the lack of here.
As you can see, the iframe is in div 1, and I need div 3 to be on top of that iframe.
Any help please?
Now, i want to add another div to the page, but have it show on top of the iframe.
I've tried using z-index, but all that does is make the div appear on top of the other div (the one without the iframe in it).
I can't for the life of me make a div show ON TOP OF an iframe. It must be possible...
<html>
<body>
<div id="1">
<iframe id="navbar_act" src="../navbar.htm" scrolling="no" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>
</div>
<div id="2">
Blah blah blah
</div>
<div id="3">
Help me!
</div>
</body>
</html>
Note: I'm using CSS for positioning, etc- hence the lack of here.
As you can see, the iframe is in div 1, and I need div 3 to be on top of that iframe.
Any help please?