how to do img align="middle" in 'xhtml 1.0 strict' or ' xhtml1.1'

Hi,

the validator suggests to place its logo as
<p>
  <a href="http://validator.w3.org/check/referer">
        <img style="border:0;width:88px;height:31px"
             src="http://www.w3.org/Icons/valid-xhtml11"
             alt="Valid XHTML 1.1!"/>
  </a>
</p>

If I now want to place this image in the middle of the line (as opposed to
the default bottom alignment), how would I do that?
I tried to define in my CSS sheet

img.alignMiddle {
   float: middle;
}
but apparently, the float only works on the horizontal, i.e. with "right".

What do you suggest?
Pls also cc: my e-mail on your answer!

Many thanks in advance!

    Ralf

Received on Wednesday, 23 October 2002 20:03:16 UTC