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>


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

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!

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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:34 UTC