The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Vertically Center Inline Image Re: Vertically Center Inline Image


Yes, I’m well aware of vertical-align, but unfortunately it doesn’t actually center it. Sure, it’s centered based on the line’s x-height, but that’s almost always a couple of pixels off. Try it, you’ll see what I’m talking about.