I have a <div>
element with a fixed height, and I'd like to center some text vertically within that element.
I've been trying to follow the instructions at http://phrogz.net/css/vertical-align/index.html. However, it doesn't seem to work for me.
I've posted what I'm trying at http://jsfiddle.net/scwebgroup/74Rnq/. If I change the HeaderBrand's margin-top to about -22px, it seems about right.
Can anyone see why the technique described in the article is not working as expected for me?
Note: The best answer here only works if the text doesn't wrap to a second line.