News for hackers. Stuff that matters.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by dpcan on Tuesday December 22, 2009 @02:40PM (#1010582)
The one bit of CSS I wish I had learned early on:

html {

overflow-y: scroll;

}

This puts the scroll bar on the right of the page regardless of whether or not the page needs to scroll.

I hate watching my page bump 20px to the left just because I went from a page that didn't scroll to a page that did.

There are no comments on this comment yet.