I have an icon image and text like the following. The code source of everything is:
<img src="...." align="absmiddle" /> My Title Here
The problem is that the icon is not aligned vertically with the title in Chrome compared to firefox.
I think the absmiddle
doesn't work at all! Is there any solution? I don't want to use a table with 2 columns to fix this issue.
Try this solution:
<img src="img.png" style="margin-bottom:.25em; vertical-align:middle;">
vertical-align: middle;
may be what you're looking for. I wouldn't necessarily assume WebKit knows from "absmiddle".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With