Solved

Responsive IFrame and Height based on content

Posted on 2014-12-06
4
134 Views
Last Modified: 2014-12-06
Hi,

Is there a way to make the IFrame height adjust based on it's content (in my case a table) and browser window changes.   I found many examples online but when I use them only the width changes.   Thanks.

David
0
Comment
Question by:davidst98
  • 2
  • 2
4 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 40484954
can you add code to the page inside the iframe?
0
 

Author Comment

by:davidst98
ID: 40484956
Yes, I can modify the page that is displayed in the iframe.
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40484960
0
 

Author Closing Comment

by:davidst98
ID: 40485192
Thanks, it works perfect.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question