Text not aligning when in cell with image

I have an image and text in the same cell of a table. Both the image and the text change when either are hovered over and they have the same action when clicked on, so separating them into different cells is not really an option as they must be in the same <a> tag.

Now to the point, the image fits fine in the cell, but the text will not vertically align to the middle! I have tried aligning the <td> tag, the style in the css everthing I can think of, but the text is still at the bottom of the cell. What can I do?

Thanks,
H

www.d6online.co.uk
wjdashwoodAsked:
Who is Participating?
 
seanpowellCommented:
Change your image tag to:

<img src="myimage.gif" align="absmiddle">
0
 
wjdashwoodAuthor Commented:
fantastic! I have been trying to solve that one for ages! :>
0
 
seanpowellCommented:
You're welcome!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.