Solved

Frame content slips underneath vertical scrollbar in IE6

Posted on 2007-04-06
2
757 Views
Last Modified: 2012-05-05
With IE6 in strict mode, when in a frame, the frame content extends underneath the vertical scrollbar (when there is a vertical scrollbar, otherwise it's ok).

One example is detailed at http://www.thescripts.com/forum/thread154084.html (although the problem occurs in all such situations, not only in the one described). Unfortunately I am required to keep this page in strict mode (cannot follow the valid advice at that link).

A fix for IE6 in strict mode would be great, I could then use conditional comments so that other browsers won't see it. But what can be done to keep the IE6 page (in a frame) from slipping under the vertical scrollbar?
0
Comment
Question by:campinas
2 Comments
 
LVL 15

Accepted Solution

by:
stanscott2 earned 500 total points
Comment Utility
I haven't personally encountered this problem, but in another forum, a user suggested wrapping a DIV around the IFRAME, and then setting the properties of the DIV, like this:

<div id="iframe_container">
<iframe id="myiframe" frameborder="0" scrolling="no" width="300" height="500" src="/lorem_ipsum.html">
iframe not supported!
</iframe>
</div>

div#iframe_container {
width:318px;
height:100px;
overflow-x:hidden;
overflow-y:scroll;
}

It's worth a try.
0
 

Author Comment

by:campinas
Comment Utility
So scrolling is disabled for the iframe - no place for the bug - but enabled for the div... interesting idea - thanks. In my case it's a frame (not an iframe), I wonder if I can do the same...
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article discusses four methods for overlaying images in a container on a web page
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

771 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

12 Experts available now in Live!

Get 1:1 Help Now