Solved

Responsive IFrame and Height based on content

Posted on 2014-12-06
4
130 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

777 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