jQuery: Set Scroll Bar to Center on Element

A Note from the Desk of a Developer If you have a horizontal (or vertical) scroll container and want to set the scroll to center a specific element in the container, you can use the following super simple technique. I’m going to show you how it was derived,...