# \[CSS\]- Scrollbar padding

**URL:** <https://forum.kirupa.com/t/css-scrollbar-padding/257121>\
**Category:** web dev\
**Created:** [April 10, 2008, 1:11pm UTC](https://forum.kirupa.com/t/css-scrollbar-padding/257121 "2008-04-10T13:11:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikedkap](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mikedkap](https://forum.kirupa.com/u/mikedkap)\
**Post date:** [April 10, 2008, 1:11pm UTC](https://forum.kirupa.com/t/css-scrollbar-padding/257121/1 "2008-04-10T13:11:06Z")

</div>

Is there a way to get the scrollbar to accept the padding from the div for positioning? Or should I use a different method to position the div?

The way it is now, the scrollbar goes all the way to the top of the div and doesn’t accept the padding for positioning.

[

```auto

.oneColElsCtr #mainContent {
    width: 900px;
    height: 540px;
    overflow:auto;
    padding-left: 75px;
    padding-top: 100px;

```

Online:  
[http://yorkbiomedical.com/working/](http://yorkbiomedical.com/working/)

Thanks!
