Using the CSS vertical-align property

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 often 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

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

Using the CSS vertical-align property…

This post has moved to http://castnerit.com/blog/?p=44...

Sorry, the comment form is closed at this time.