I just tried to align a image next to a button, it worked perfectly in FF and IE7 / 8, but the image isn't aligned in IE6.
I fully understand that vertical-align only works properly on inline elements, so no DIV is used. Please see the code below :
Is this a normal behavior in IE6? If so, are there any workarounds?
This article used the same method (vertical-align:middle) in one of the samples, but it worked in IE6!
<input type="button" class="submit" id="submit" value="Submit" onClick="postForm();" />
<img src="123.gif" id="loading" style="vertical-align:middle;" />