Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Iframe files not dispaying

Posted on 2006-07-18
6
Medium Priority
?
309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

618 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