Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Turning off InfoWindow scrollbar in CSS

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

604 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