Questions tagged [scrollbars]

A scroll bar is a part of a graphical user interface element to present the user with a perspective of a percentage of the page shown. The scroll bar consists mainly of three parts: the track, thumb and buttons (or arrows). A user can click and drag the thumb in order to reveal more contents of the page. In the event that a user uses a scrolling function, the thumb tracks the page progress.

Some basic definitions:
A scroll bar is a part of a graphical user interface element to present the user with a perspective of a percentage of the page shown. The scroll bar consists mainly of three parts: the track, thumb and buttons (or arrows). A user can click and drag the thumb in order to reveal more contents of the page. In the event that a user uses a scrolling function, the thumb tracks the page progress.

What questions should have this tag?
This tag, or topic, is very localized and should be used in-detail, and preferably include a broader instance than the problem itself. It should be included with questions concerning the User Interface elements in which the scroll bars behavior or appearance can be affected.

218 questions
4
votes
1 answer

Vertical Scroll bars in Jekyll Rouge

Is there anyway to add vertical scroll bars in Jekyll for really long code? I tried adding a Height attribute in _syntax.scss but with no luck. The syntax highlighter I'm using is rouge and the theme I'm using is here:…
Supercap2F
  • 45
  • 4
4
votes
3 answers

IE8 Leaving space for Unneeded scrollbars

My page is a 3 column design with a header. It renders nicely in IE6 and IE7 (as far as i know). I use javascript to size certain elements of the page, to fit the browser window. On IE8 however, it tries to leave spaces for scrollbars, even when…
moonblade
  • 287
  • 1
  • 3
  • 13
4
votes
5 answers

Hide horizontal scrollbar

I have a problem with the horizontal scrollbar. I don't want it to show up. Actually it only shows up in Chrome and it doesn't in Internet Explorer. What can I do? I have tried modifying width and padding in the css class, but this changes the…
Gyonder
  • 3,674
  • 7
  • 32
  • 49
3
votes
1 answer

Why QWebkit doesn't resolve file:// and qrc:// when used in -webkit-scrollbar css?

Example #1: ::-webkit-scrollbar-button { background-image: url(file:///tmp/bg.png); } Example #2: ::-webkit-scrollbar-button { background-image: url(qrc://bg.png); } Above examples are working only when QWebPage shows local html page. For…
user1180567
  • 175
  • 1
  • 2
  • 8
3
votes
1 answer

Confused by document dimensions in JavaScript

I am really confused by the different properties that exist in JavaScript for getting the dimensions of a document and how to get those numbers. Can someone recommend a good place to start to understand how I would get the size of the document and…
user1019031
  • 743
  • 7
  • 16
3
votes
4 answers

Determine top row in html table

I have a html table with scrollbar (i.e. overflow is set). When I scroll the table, I would like to get the the current top-row in position (i.e. according to user-view of table). How would I do this? Can anyone of you help me with an example?
user517400
3
votes
1 answer

Connecting multiple scroll bars to scroll at once using jQuery

I have split a very long (scrolling) table in shorter tables to allow scroll bars to be added at increments down the table. I have some script that allows a scroll bar at the top to match the scroll bar under the following table - but is there a way…
DaveP19
  • 167
  • 3
  • 16
3
votes
1 answer

Force the display of scroll bars in a ListView?

The background: Most of us know the SysListView32 common control and the equivalent wrapper ListView class provided by the .NET Framework. A little depth into its internals show that the scroll bars it provides for scrolling its contents are NOT…
Anirban Sarkar
  • 796
  • 6
  • 14
3
votes
3 answers

Set div width based on scroll position

The code: http://codepen.io/anon/pen/EjrpMM So, i'm working on an interesting problem. I am working with a 2000px HTML document, that has a modal placed ontop of it. The width of the div lightbox is 80%, and it's sitting positioned fixed. The goal…
3
votes
1 answer

Move scrollbars automatically when doing a rectangle selection for cropping an image in the picture box with panel's Autoscroll = True

I have a picturebox on top of a panel..I have a rectangle selection which can be used to select a portion of the image for cropping..Since I have set the Panel's Autoscroll property = True, and since the image in picture box is big, I get the…
Shiva
  • 235
  • 1
  • 4
  • 14
3
votes
2 answers

How to enable scrollbars in silverlight 3.0

I have set my canvas width to 1500 and height to 1600 in my xaml page in silverlight 3.0. When I run the testpage I can't see scrollbars. So I am not able to scroll to view rest elements. I also need to set scrollbars for a grid. How to enable…
Himadri
  • 8,600
  • 15
  • 47
  • 70
3
votes
3 answers

No horizontal scroll bar on float right