This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
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!