Simple Vertical Align an Element within a Div

Here is how to vertically align and element within a div. This works well if you are trying to vertically align and images as well.

Source: http://zerosixthree.se/vertical-align-anything-with-just-3-lines-of-css/

Create a Centered Horizontal Navigation

Here is how to horizontally center a Navigation. The html markup:

The css:

This code was pulled from: CSS Wizardry