Solved

How do i remove the outer scrollbar?

Posted on 2016-11-25
2
16 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 9

Accepted Solution

by:
Prasadh Baapaat earned 500 total points
Comment Utility
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
Comment Utility
Thank you. Your response was very clear.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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.

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

9 Experts available now in Live!

Get 1:1 Help Now