Can't get vertical align to work with img tag inside of a list?

Try adding line-height to it: #top_content img { float: left; line-height:20px; /* adjust accordingly */ }.

Expecting vertical-align to work properly :) In your case would it be possible to set mail_ico. Png as a background image on the? That's how I handle cases where the vertical position of an image is important in a design.

I know, what was I thinking.... – Thomas Jul 15 '10 at 14:13.

Don't float the image. It will no longer be inline behavior, that is what is causing your problem.

Float: left is basicly canceling out the effect of vertical-align. Vertical-align c ontrols the alignment of an in-line element to other in-line elements on the same text line. Float: left makes the img a block element, on which vertical-align has no effect.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions