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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoResizing iFrame??

Status
Not open for further replies.

Naits

Programmer
Oct 10, 2001
90
NO
Is there a way to get a iFrame to auto resize, so it fits the page that is beeing loding into it? __________________
Visit my homepage
.: Game universE :.
 
Yea, it's quite simple actually:

<html>
<head>
<title>I-Frame using 100%</title>
</head>
<body bgcolor='white' text='black' topmargin='0' leftmargin='0' rightmargin='0' bottommargin='0'>
<IFRAME FRAMEBORDER=0 SCROLLING=NO SRC=&quot;somePage.html&quot; allowTransparency=&quot;true&quot; width=&quot;100%&quot; height=&quot;100%&quot;></IFRAME>
</body>
</html>


Hope this helps. -Ovatvvon :-Q
 
obviously, if you want it less than 100% of the page, adjust the percents acording to your likeing. -Ovatvvon :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top