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

  • Home
  • SEARCH
  • 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 8472827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:11:00+00:00 2026-06-10T17:11:00+00:00

I have a page with two iframe contents which are split horizontally. The left

  • 0

I have a page with two iframe contents which are split horizontally. The left one is a tree view type and its size is initially zero. The right one is shown always. When the size of the content in the right side iframe increases, it creates a scrollbar. The vertical scrollbar is not shown for the iframe, but the browser scrollbar adjusts for the vertical scrolling.

Can the same be done with the horizontal scrollbar? I have the iframes as scrolling=auto; frameborder=0;height=100% etc. Many of the issues i checked are saying like hiding the scrollbar or aligning problem. i cant seem to find something like this.
Please advice.

Thanks.

UPDATE

jsFiddle Link

in this link my main content has scroll bar also browser has scroll bar. i just want to use browser’s scroll bar not iframe.

  • 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-06-10T17:11:01+00:00Added an answer on June 10, 2026 at 5:11 pm

    What you need to do is to set the overflow of the inner element to hidden. This is possible using divs and other elements.

    Unfortunately, this is not possible inside an iframe. The browser doesn’t allow access to inner elements, because this could be a major security flaw, allowing you to inject your code into any page anywhere.

    See this fiddle and look the message being logged in the console (better viewed in Firebug in Firefox).

    What you can do, however, is to calculate the document height inside the iframe, and set the iframe height accordingly, avoiding the inner scroll bar. See this question.

    Cheers, Apoc.

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

Sidebar

Related Questions

i have created a html page which contain two iframe . first iframe refer
I have a page which has two distinct parts : a left side of
I have a page with two buttons, one Button opens a popup window with
I have an aspx page with two buttons, one of the buttons has an
I have two divs, one on the left, and one on the right side
I have two iframes on a page and one makes changes to the other
so i have the two following iframe codes: <iframe title=YouTube video player class=youtube-player type=text/html
I have two links to open a fancy box. One is on the page
I have a parent page containing two iframes. One holds navigation links and the
I have two html files, one contains the other with an iframe, and I

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.