Alex Rivera | Logout

ABSMIDDLE works differently on Firefox and Chrome?

Asked 2010-03-19T23:16:00.877
9

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.

alt text

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.

Edit
Report

1 Answer

2

vertical-align: middle; may be what you're looking for. I wouldn't necessarily assume WebKit knows from "absmiddle".

answered 2010-03-19T23:45:29.823

Your Answer