Solved

Turning off InfoWindow scrollbar in CSS

Posted on 2008-06-10
4
1,333 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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 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