Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need help auto height fix for a iframe

Posted on 2012-04-10
2
Medium Priority
?
511 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
[X]
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
2 Comments
 
LVL 22

Accepted Solution

by:
Kim Walker earned 2000 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
This article discusses how to implement server side field validation and display customized error messages to the client.
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

636 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