Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 857083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:20:36+00:00 2026-05-15T08:20:36+00:00

I am working with an IFrame and I can’t seem to figure out a

  • 0

I am working with an IFrame and I can’t seem to figure out a way to disable only the horizontal scrollbar in IE7. I need the vertical scrollbar but I want to completely disable the horizonal bar.

Check out the IFrame setup here: Iframe Example

I have disabled horizonal scrolling in the other browsers using:

overflow-x: hidden;
overflow-y: scroll; 

But this doesn’t seem to work in IE7. Any ideas?

EDIT: I put the horizonalscrolling line in the Iframe tag thus:

<script type="text/javascript">
      var GB_ANIMATION = true;
      $(document).ready(function(){
        $("a.greybox").click(function(){
          var t = this.title || $(this).text() || this.href;
          horizontalscrolling = "no";
          GB_show(t,this.href,560,800);
          return false;

        });
      });
    </script>

I also disabled scrolling on the body element in the outerpage:

html {
overflow-x: hidden;
}

Neither of these solutions have solved the problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T08:20:36+00:00Added an answer on May 15, 2026 at 8:20 am

    Two approaches:

    • The scrollbar isn’t a property of the <iframe> tag, it is a property of the page that it contains. Try putting overflow-x: hidden on the <html> element of the inner page which is included in the iframe.

    • horizontalscrolling = "no" (this is not on documentation though)

    It is also interesting to note that you can hide all scrollbars by using scrolling = "No" on the iframe tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is not working and I can't figure out where I went wrong: <style>
I cant figure out why this isn't working. It's probably something simple. The iframe
I write some html and js to a iframe,not working in IE7/8/9,the error message
Fancybox iframe is not working with me.. Can you please have a look and
iFrame.document.getElementById('Formname').disabled = true; This is not working with Netscape browsers(FF,Chrome and Safari). Can some
The title say it all. I am working with a iframe whose the only
i have a strange problem only in Chrome using an iframe but working in
So I'm working on a google gadget (really only gadgetizing so I can get
I know one can add event listener for window.error. However when working with Iframes,
I working on adding file uploading to my web application. I'm using an iframe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.