aliasfreiheit, microwaved burrito
pronounsany
1,544written posts
offlinecurrently
i've been having some pretty dark thoughts.
Just when I think I'm finally understanding coding again after such a huge break, I check the template I just made on another computer and see it's full of ugly scrollbars on there. </3 is there a tutorial/way on adding scrollbars to templates that work on everything? The easiest way is to: set all your values to !important, and make sure to include border-radius and border, even if your scrollbar uses neither. Just set them to 0px/none (and also !important). Most site-wide scrollbar stylings mess up individual template stylings when they include those two things - and while a very specifically coded scrollbar may have even more (I think I personally did, like, some inset shadow on one once, heavens only knows why), you'll pretty much protect yourself from scrollbar breaks 95% of the time just by making sure your border and border-radius values are set to exactly what you want them as.
Also, make sure to never just put "::webkit-scroll" or whatever the heck that syntax is, sdfkljsdhfkjsdh, into your template, since that'll then override (or be overridden BY) other templates on the page. Make sure you specify exactly which class that has the scroll. o>
|
|