Solved

How do i remove the outer scrollbar?

Posted on 2016-11-25
2
45 Views
Last Modified: 2016-11-26
Hello,

I have a map on this webpage and when you click on a marker content is displayed in the sidebar:
http://www.heavenlygardens.org.uk/maps/6/6.html

The content is loaded from a geoJSON file where i have specified individual objects e.g.:
<object type="text/html" data="http://www.heavenlygardens.org.uk/the-churchyards/st-peter-hungate/" width="100%" height="100%"></object>

Open in new window


This displays the content with a scrollbar within a div with scrollbar - how do i remove the outer scrollbar?


Many thanks
0
Comment
Question by:Daniish
2 Comments
 
LVL 10

Accepted Solution

by:
Prasadh Baapaat earned 500 total points
ID: 41902164
Hello Daniish,
There is a stylesheet on your server... path is:     http://www.heavenlygardens.org.uk/maps/6/L.Control.Sidebar.css

in that stylesheet on/around line 21 there is a style as below:

.leaflet-sidebar > .leaflet-control

you add a line as below in that rule and the outer scrollbar will be gone

overflow-y: hidden;

Open in new window


or if you dont find the code as above... just add a new rule in your stylesheet like below:

.leaflet-sidebar > .leaflet-control {
     overflow-y: hidden;
}

Open in new window

0
 

Author Closing Comment

by:Daniish
ID: 41902421
Thank you. Your response was very clear.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

776 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