Solved

Need help auto height fix for a iframe

Posted on 2012-04-10
2
502 Views
Last Modified: 2012-04-10
Please take a look at http://iplaysite.com/projects/listings_iframe.html .

On Safari, the iframe section in the body of the page looks and functions exactly how I want it. However, on all other browsers like Chrome, Firefox, and IE the iframe height is only 100px in height. It is not auto adjusting like Safari. How do I make it auto adjust on all browsers? Thanks advance!!
0
Comment
Question by:funhyun1
2 Comments
 
LVL 22

Accepted Solution

by:
Kim Walker earned 500 total points
ID: 37828571
The issue is the 100% height which is 100% of the parent's height. But the body element doesn't have any height, nor does its parent the html element. Try adding "height: 100%;" to your body tag css on line 9 and to the html css on line 2.
0
 
LVL 2

Author Closing Comment

by:funhyun1
ID: 37828732
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now