S
Steve Pugh
Jeff Thies said:That's odd, not only does it work but google yields pages of uses. I
don't doubt that you are right though. I've never had a need for it
until this moment.
I think the HTML spec trumps Google...
middle is an allowed value for the align attribute of <img>, it is not
an allowed value for the align attribute of <td>.
http://www.w3.org/TR/html401/struct/objects.html#adef-align-IMG
http://www.w3.org/TR/html401/struct/tables.html#adef-align-TD
What's more, browsers tend to error correct <td align="middle"> by
treating it as <td align="center">.
Confused yet? ;-)
There is no valign attribute for <img> so this doesn't follow from the
The CSS vertical-align is equivalent to both the <td> valign attribute
and _some_ of the values of the <img> align attribute. Confusion is
understandable. Middle is an allowed value in both cases.
Steve