|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| 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
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
|
|||
|
eric1328,
if the iframe is within a table the table height settings will resrict your iframe height.... |
|
|||
|
Hi, try:
<iframe src="" style="height:100%;"></iframe> I think this should work. Let me know if it does or not. Thanks, -Adam |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |