Solved

Turning off InfoWindow scrollbar in CSS

Posted on 2008-06-10
4
1,339 Views
Last Modified: 2011-10-19
Hello,

I'm trying to turn off the default (right-hand side) scrollbar for the infowindow, which i'm told is  usually configured within CSS. My CSS only has the following reference to the InfoWindow:

#infowindow {
        font-size:10pt;
        min-height: 100%;
        color: #2E2E2E;

}

    .iwstyle {font-size:10pt;}

So what is it that i'm missing?

www.globexposure.net/index.php

Please note that i have added a custom scrollbar for a div that i have placed within the InfoWindow, and this i wish to preserve.

Many thanks
style.css.txt
0
Comment
Question by:Daniish
[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
  • 3
4 Comments
 
LVL 10

Expert Comment

by:bluefezteam
ID: 21752990
do you mean internet explorers default scrollbar?

try


html {
overflow: auto;
}

Open in new window

0
 
LVL 10

Expert Comment

by:bluefezteam
ID: 21753057
also note that although this works, it sometimes doesnt work in browsers when viewing the files locally - only once uploaded... strange I know
0
 

Author Comment

by:Daniish
ID: 21753145
From what you've said, i thought perhaps

overflow: hidden;

..might work but it didn't. Please see the attached screenshot - i'm trying to remove the scrollbar on the right.
IW-scrollbar.JPG
0
 
LVL 10

Accepted Solution

by:
bluefezteam earned 500 total points
ID: 21753205
hmm well the one on the right is appearing because you have too much text on the left text area.

if you set the height of the inner div to be smaller than that outer div then it will disappear.

i dont know what the ID is for the outer container but say it was called - outerDiv then set its height to something specific say 300px with overflow hidden; then the inner div just needs a fixed height which is smaller so maybe 280px; the inner div will scroll and the outer div scrollbar shouldnt be needed.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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)

724 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