Grow your CSS skills. Land your dream job.

Inline-Block and Vertically Center Image

  • # June 7, 2012 at 11:19 am

    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

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".