Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Responsive IFrame and Height based on content

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

829 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