Centre content vertically in a <div>
- by Ben
Hi, this is probably very simple to do, but I can't quite get it right.
I have a <div> which contains two <a> tags. I would like the <a> tags to be both centred vertically and horizontally. I have set them to centre horizontally by setting the text-align:center; on the div, but can't figure out how to vertically centre them.
How would I go about doing this?
Thanks.