The biggest CSS annoyance
I think this is one of the biggest design flaws, and I see it all the time when I surf the net. What surprises me is that I even see it on sites that have valid code, a nice design and offer valuable services.
Seriously, how can somebody miss that his complete page layout shifts some pixels to the left or right when looking at different pages of the same site.
Consider this, twitter without a scrollbar (I think this was my profile page).
Twitter without vertical scroll barThe same site, but now with a scrollbar. Notice how all the content moves to the left.
Twitter with vertical scroll barOn the next image I made an overlay of both shots to make the layout shifting more obvious.
Twitter, scrollbar layout overlayIn my opinion this is one of the biggest design errors, and everybody does it. And - it's ridiculously easy to fix:
Not using this is really hurting a website's usability. When a user clicks on some navigation element the navigation is supposed to be at the same place on the next page. So, force the vertical scroll bar!Now I just need to hire myself a good designer to make my page look good ;-)html { overflow-y: scroll; }
I am Nicolas Kuttler, a web developer, system administrator and IT consultant from France, currently living in Germany.





2 comments
Start a new thread