Only horizontal Webkit Scrollbar Buttons visible

My custom webkit scrollbars have been styled using CSS, everything is displaying correctly except for the arrow increment/decrement buttons on the vertical scrollbar. When I removed "horizontal" from the ::-webkit-scrollbar-button line to make both horizontal and vertical scrollbars look the same, an image appears. However, specifying either horizontal or vertical for this property only shows images for the Horizontal scrollbar buttons. I have made sure that the issue is not with the image file.

::-webkit-scrollbar
{
width: 17px;
height: 17px;
background: #191919;
}

::-webkit-scrollbar-button:start:decrement
{
height: 20px;
width: 20px;
display: block;
background-repeat: no-repeat;
}

::-webkit-scrollbar-button:end:increment
{
height: 20px;
width: 20px;
display: block;
background-repeat: no-repeat;
}

::-webkit-scrollbar-track-piece:horizontal
{
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929),     color-stop(100%, #3b3b3b));
-webkit-border-radius: 6px;
}

::-webkit-scrollbar-track-piece:vertical
{
background: #191919;
-webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb
{
-webkit-border-radius: 6px;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ed1c24), color-stop(100%, #96161b));
border: 1px solid #5c0d10;
border-top: 1px solid #f1383f;
border-left: 1px solid #f1383f;
}

::-webkit-scrollbar-button:veritcal:decrement
{
background-image: url(images/up.png);
}

::-webkit-scrollbar-button:veritcal:increment
{
background-image: url(images/down.png);
}

::-webkit-scrollbar-button:veritcal:decrement:active
{
background-image: url(images/upa.png);
}

::-webkit-scrollbar-button:veritcal:increment:active
{
background-image: url(images/downa.png);
}


::-webkit-scrollbar-button:horizontal:decrement
{
background-image: url(images/left.png);
}

::-webkit-scrollbar-button:horizontal:increment
{
background-image: url(images/right.png);
}

::-webkit-scrollbar-button:horizontal:decrement:active
{
background-image: url(images/lefta.png);
}

::-webkit-scrollbar-button:horizontal:increment:active
{
background-image: url(images/rightaa.png);
}

Answer №1

Maybe the issue is due to a typo in the CSS where 'vertical' was spelled as 'veritcal'?

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

The media object in Bootstrap 4 with a pre tag inside is not adhering to the width of the container

Trying to incorporate a media object inside a Bootstrap column is proving challenging. Whenever I insert long strings of code within the .media-body class using <pre><code>...<code></pre>, the entire media object extends beyond the ...

Moving up stacked columns with bootstrap or any other CSS technique

Is there a way to make column [3] move up if column [2] is taller than column [1]? [1][2] [3][4] Check out this bootply example of the layout : http://www.bootply.com/KbAf8UOk9c Currently, there is empty space between column [1] and [3] that I would li ...

The scrollbar extended to match the full height of the screen

I am looking to implement a scroll bar for the first div if its content exceeds the screen size, while I want the second div to stretch along the height of the screen. How can I enable a scrollbar for the first div when overflow: scroll; does not work? ...

Customizing the appearance of a scrollbar in WPF

In the process of developing a WPF project in VS2010 with .NET 4.0, I am incorporating custom PNG graphics for the components of a vertical scroll bar. My objective is to design a unique skin for the vertical scroll bars within my application. I opted for ...

Struggling to break down a URL into separate elements such as http:, www., stackoverflow, questions, and ask

While the input is working fine and producing the expected string output, I am struggling with creating arrays and not sure what to do next. Despite searching extensively, I have been unable to find a solution. <body> <form> &l ...

Issue occurs when attempting to call a function from a button

I am in the process of creating a form to collect information from a group of individuals, and whenever I try to add another person by clicking on the button, an error message pops up in the console saying that addPerson() is not recognized as a function. ...

Node.js - denying the request to apply CSS (MIME type text/html)

While working on implementing my CSS in HTML using NodeJS, Express, and socket.io, I encountered an error message stating: 'Refused to apply style from 'http://localhost:8000/index.css' because its MIME type ('text/html') is no ...

A pair of buttons and text with varying alignment

Here is the code from my popup.htlm file: HTML <body> <select style="width: 100%;" multiple id="HLSlist"> </select> <span style="display:inline"> <button type="button" id="Deletebut">Delete</button> ...

Dynamic resizing container

For most of my websites, I typically place content within a div that features rounded corners with a shadow effect. Recently, I've been trying to figure out if it's possible for this parent div to automatically center both vertically and horizont ...

Determined margin value to replicate the maximum and minimum margin in CSS styling

When attempting to set the margin on an object to 20% with a maximum margin of 200px, I experimented with various methods: margin-left: calc(min(200px, 20%)); and max-margin-left: 200px However, neither property proved to be valid. Is there an alterna ...

How to remove hover effect specifically from collapsed navbar in Bootstrap?

I created a webpage with a navigation bar that has links which scroll to different sections on the page. I added a hover animation to the links using the code below: .navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a:active { box ...

Google Web Toolkit - Update PopupPanel layout upon rotation

I am working on designing a context menu for specific elements utilizing a PopupPanel; the context menu is expected to be quite extensive and intricate. My goal is to have a collection of buttons, an image, and some text associated with the clicked element ...

The width of Highcharts increases proportionally to the growth of the chart's width

I want to create a highcharts graph where the width increases as data points increase. Currently, I have: I am using vuejs with highcharts, but it should work similarly with jquery or other frameworks. <div class="col-md-6" style= ...

Is the row border camouflaged by the background?

feed_page: { margin: 'auto' }, feed_list: { margin: 'auto' }, feed_item: { textAlign: 'center', backgroundColor: '#fff', borderBottom: '1px solid #e0e0e0', margin: '10 ...

The background image is overly magnified

I've been having an issue with the background image on my div looking too zoomed in and losing its clarity. Below is the HTML and styling that I have attempted: <div class="grid-x intro"> <div class="cell large-12 medium-12 small-12 ...

Creating a website with a seamless image background that fills the entire page

! Is it possible to achieve the same effect using AngularJS? Below is the CSS code: .bg { background: url(holiday-car-rental.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-s ...

Modify the text of a label for an individual series in Highcharts

I have customized my stacked bar highchart so that the last series is colored grey. However, I am wondering if there is a way to change the text color to black for this specific series where the background color is grey. plotOptions: { series: { ...

Tips for showcasing API data in React buttonsHow to exhibit information fetched from API in

My goal is to present the array of data received from different API calls, such as /fruits and /pizza. I aim to format this data into a table that separates each element in the json array. How can this be achieved in React, assuming the API code functions ...

What steps can I take to properly position my child element within its parent container?

Is there a way to adjust the width of a child element so it fits snugly inside its parent div? The width should be contained within the padding area. The top and left placement is correct, but the right side needs adjustment. Check out this link for refe ...

Is it possible to override Bootstrap or not?

It's quite a puzzle to figure out when I can and cannot override Bootstrap classes or IDs with custom CSS. For instance, it seems easy enough to change the default navbar-dark background and font style, but altering the font color and size proves to ...