iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-27-2004, 10:57 AM
WebProWorld New Member
 
Join Date: Feb 2004
Location: Dayton, Ohio
Posts: 5
eric1328 RepRank 0
Default iframe height

Hey, I thought I could define the height of a iframe with %, but It doesn't work. I would like the iframe height to adjust to the page size in it. This doesn't work for me.

Like if one page displayed through the iframe is one paragraph long and another is 3 pages long it puts scroll bars on becuase the height is like only 200px. If I could put 100% then the iframe would automatically adjusts its height depending on the page displayed through it

Here is my code:

<iframe
name = "frame"
height ="100%"
frameborder="0"
width ="100%"
src ="URL">
</iframe>

Any help would be appreciated! Thanks
Reply With Quote
  #2 (permalink)  
Old 05-27-2004, 11:55 AM
WebProWorld Member
 
Join Date: May 2004
Location: UK
Posts: 77
M0rtym0use RepRank 0
Default

eric1328,
if the iframe is within a table the table height settings will resrict your iframe height....
__________________
M0rtyM0use

Simply Rugby
Reply With Quote
  #3 (permalink)  
Old 06-18-2004, 04:18 PM
WebProWorld Member
 
Join Date: Jul 2003
Location: Boston, MA
Posts: 48
Adamwlad RepRank 0
Default

Hi, try:

<iframe src="" style="height:100%;"></iframe>

I think this should work. Let me know if it does or not.

Thanks,
-Adam
__________________
Adam, President of Adam's Web Company
http://www.adamswebcompany.com
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:31 PM.



Search Engine Optimization by vBSEO 3.3.0