File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Center a iframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Center a iframe" Watch "Center a iframe" New topic

Center a iframe

shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
I have a page like the below structure. What I am doing is, I am displaying the iframe3 as a context menu on iframe1 and iframe2. Now the problem is, it sometimes get lost due to scrollbars on its parent iframes, sometimes its size is bigger than its display area in parent iframe. Sometimes It is failing on IE/firefox. Can somebody tell me how to do that or give me such link to tell it.

I agree. Here's the link:
subject: Center a iframe
It's not a secret anymore!