HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by spicyj | Hacker News Reader
Parent
Full thread
spicyj
·
What's wrong with that CSS?
View on HN
evan_
·
For one thing it hides the scrollbar which in some browsers causes the whole page to shift by a number of pixels. It's not the worst thing but it's a little bit distracting. My QA people recently sent me a bug that was basically this issue.
moretti
·
Exactly, and you can't simply set a left margin because the scrollbar width is different in every OS. This is what bootstrap does:
https://github.com/twbs/bootstrap/blob/83bfff7f0765503b990b9...
Reply on news.ycombinator.com