aspose file tools*
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
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
 
 
subject: Iframes height problem