Quantcast
Viewing all articles
Browse latest Browse all 26

Vertically Center Anything With Dimensions

One way to easily vertically center a div is to set it to be absolute, set the width, height and then the top, bottom, left and right all equal to 0.  Something like this: From: http://stackoverflow.com/questions/356809/best-way-to-center-a-div-on-a-page-vertically-and-horizontally

Viewing all articles
Browse latest Browse all 26

Trending Articles