I'm quite new to CSS and using DIVs and I'm trying to self teach myself. However I've come across a problem I can't find a solution to:
On the menu on the left, I'd like to have the text next to the images centered vertically but I don't know how to do it in the CSS.
I've centered the image by giving it padding but doing that with the text ruins the menu layout.
Links to css file:
not tested.... try giving it
try giving it a line-height and then using vertical-align: middle
Hi rmfred. I did try that
Hi rmfred. I did try that and it sort of works, the only problem is, in one of the boxes I have the text on two lines, so when I do that it shifts the second line into the box below it.
Know anyway around that?