W3C home > Mailing lists > Public > www-validator@w3.org > October 2002

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

From: Ralf Hauser <ralfhauser@gmx.ch>
Date: Wed, 23 Oct 2002 10:07:52 -0400 (EDT)
To: <www-validator@w3.org>
Message-ID: <KJEOKFJJEDMIGBEEJCHCAEHGNEAA.ralfhauser@gmx.ch>




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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:04 GMT