This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Iframes height problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Iframes height problem" Watch "Iframes height problem" New topic
Author

Iframes height problem

Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Hi ,

New to Iframes.I am using below code to create Iframes .The normal top.left and content frame type ,but it is not rendered well.



<iframe
src ="a.jsp"
width="100%" height="30%" name="top" frameborder="1">
<iframe
src ="b.jsp"
width="30%" height="70%" name="side" frameborder="1">
</iframe>
<iframe
src ="c.jsp"
width="70%" height="70%" name="content" frameborder="1" >
</iframe>

Please help.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
What is the problem, I am too lazy to test your code.

Eric
Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Eric,

the problem is it does not show the frames at the locations i have specified.


thks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You are missing a closing </iframe> tag there. Is that a copy and paste error?

Eric
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6


The problem with this is when the window is a certain odd size with percentages it will not be aligned correctly.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iframes height problem
 
Similar Threads
no scroll bar in IE,but Scroll bar in MF
movable scroll pane with iframe
how to set position for iframe?
iframe in struts? help me out...
Auto resizing iframe upon window resize