This method uses a floated div above this container to center it vertically.
The div ( #spacer ) pushes the content down by 50% and then has a negative margin on the bottom of half the height of the container div.
This will cause the container div to be centered vertically.
For horizontal spacing use auto margins.