Solved

Iframe files not dispaying

Posted on 2006-07-18
6
302 Views
Last Modified: 2006-11-18
hello experts:

I am using iframe combined with div tag for a document but it only display the 1st 'iframe' and not the 2 others(see code below). however it sometimes displays  after i 'clear history' and 'delete cookies'.
I don't want my users to have to do that so please help( i tried unsuccessfully playing with z index )

the code is below. thanks

<body >
<div id="Layertop" style="position:absolute; left:0px; top:0px; width:100%; height:151px; overflow:hidden">
<iframe width="100%" height="151" scrolling="no" src="top_newok.htm" marginHeight="0" marginWidth="0" frameborder="0"></iframe>
</div>
<div id="Layerlef" style="position:absolute; left:0px; top:151px; width:177px; height:100%; overflow:hidden">
<iframe width="177" height="100%" scrolling="no" src="left.htm" marginHeight="0" marginWidth="0" frameborder="0"></iframe>
</div>
<div id="Layerrig" style="position:absolute; left:177px; top:151px; width:100%; height:100%; overflow:hidden">
<iframe width="100%" height="100%" scrolling="no" src="botm_det.htm" marginHeight="0" marginWidth="0" frameborder="0"></iframe>
</div>
</body>
0
Comment
Question by:essenam
  • 3
6 Comments
 
LVL 5

Expert Comment

by:Jezcentral
ID: 17137401
It shows fine on my PC. Try viewing it with another computer.

P.S. If checking anything in IE, close down the browser and open it up again (drag the icon in the address bar on the desktop to have a ready-made shortcut) whenever you have just made a change to the code. This will prevent caching problems, which I think is what you have.

Jezcentral.
0
 
LVL 5

Expert Comment

by:Jezcentral
ID: 17144523
Either that, or you  have some error that prevents the page from rendering. Is there any javascript (the usual suspect). What is the rest of the code like?

Jezcentral.
0
 

Author Comment

by:essenam
ID: 17225063
I've been testing with different browsers with the same result.

Can you let me know how I can force the last 2 iframes on top(i'm novice at playing with z-index)
0
 
LVL 5

Accepted Solution

by:
Jezcentral earned 250 total points
ID: 17227341
I've tested this in IE and Firefox and it works in both. I assume you are putting in the other tags:

<html>
<head>
      <title>Test page</title>
</head>
<body >
<div id="Layertop" style="position:absolute; left:0px; top:0px; width:100%; height:151px; overflow:hidden">
<iframe width="100%" height="151" scrolling="no" src="top_newok.htm" marginHeight="0" marginWidth="0" frameborder="0"></iframe>
</div>
<div id="Layerlef" style="position:absolute; left:0px; top:151px; width:177px; height:100%; overflow:hidden">
<iframe width="177" height="100%" scrolling="no" src="left.htm" marginHeight="0" marginWidth="0" frameborder="0"></iframe>
</div>
<div id="Layerrig" style="position:absolute; left:177px; top:151px; width:100%; height:100%; overflow:hidden">
<iframe width="100%" height="100%" scrolling="no" src="botm_det.htm" marginHeight="0" marginWidth="0" frameborder="0"></iframe>
</div>
</body>
</html>

If you are, can you show me the code for one of the top_newok.htm, left.htm or botm_det.htm pages? The code fragment you gave at the top of the page is solid (as long as it's a fragment :) ). I can't see any problems with it. Your tags are closed, and the styles are used correctly.

Jezcentral.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now