Solved

Turning off InfoWindow scrollbar in CSS

Posted on 2008-06-10
4
1,296 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
Comment Utility
do you mean internet explorers default scrollbar?

try


html {

overflow: auto;

}

Open in new window

0
 
LVL 10

Expert Comment

by:bluefezteam
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
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 …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now