Solved

Frame content slips underneath vertical scrollbar in IE6

Posted on 2007-04-06
2
765 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
[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 15

Accepted Solution

by:
stanscott2 earned 500 total points
ID: 18869881
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
ID: 18870407
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

738 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