Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Iframe at height 100% ?

Status
Not open for further replies.

itslogical

Technical User
Jul 1, 2004
7
NL
Hi i have a question about using the height 100% when using iframes.
Now this is not my thing and tried a few thing but im way of i think....
This is the sory....on the same page i have a bunch of links and the target is all main,so no problem with that...
But some pages that load in the frame are long and some arent.
So nice solution is to use the 100% instead of setting the height like...700 or even 2200.
Can it be done ?
Ive tried combinations but no luck...
I cannoth use rows or that stuff cause it trashed the left menu...
Any idea ?
This is the code :

<iframe id="main" src="test.htm" width="100" HEIGHT="100%" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" name="main" border="0" style="float: right"></iframe>

I hope the code shows ok....
 
ur code works for me, it extends the frame to 100% height.
i used IE5.0

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top