The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Inline-Block and Vertically Center Image
I am using inline-block and I am trying to center my images vertically inside the containing element. I tried line-height but I believe I need to set a specific height to do that. However, I need the images to have a height of auto.
Fiddle