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

Home Forums CSS Centering multiple inline-block divs Reply To: Centering multiple inline-block divs


But now how could I center the inline-blocks vertically as well?

Well, basically, you can’t.

What you can do is wrap those elements in div and vertically center that.

Instead of vague ‘can you’ questions, perhaps you could provide a reduced case demo in Codepen of your existing HTML & CSS and we can go from there.

Also, if you have a design image of the finished article that would help.