Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- ? CSS replacing
- mark | r
January 6, 2004, 12:44 pm
rate this thread
Re: ? CSS replacing
absmiddle is not a permitetd value of align in any standard version of
HTML. The permitted values are top, middle, bottom, left and right.
<p><img src="image.gif" width="20" height="40" style="vertical-align:
middle;" alt="" />some text</p>
From my experiments it looks like vertical-align: middle behaves more
like the non-standard align="absmiddle" than the standard
align="middle", so it seems to be exactly what you want. (Tested in
IE6, Opera 7.23 and Mozilla 1.5, note that in the last two
align="middle" and align="absmiddle" display the same anyway - only IE
clings to the old Netscape 2(?) display).
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor