February 2008 - Posts

Trying to vertically align content on a web page using CSS can be difficult. For example, you often want to align text and other content in the middle of a div tag. The difficulty is caused by developers not understanding how vertical-align works. I found this great page on the problems with vertical-align and how to overcome them:

http://phrogz.net/CSS/vertical-align/index.html

Posted by gcastner | with no comments
Filed under: ,