?
Solved

Turning off InfoWindow scrollbar in CSS

Posted on 2008-06-10
4
Medium Priority
?
1,345 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 2000 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

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

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 …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

777 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