Forums

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

Home Forums CSS Center aligning a group of images Reply To: Center aligning a group of images

#187135
Paulie_D
Member

I have tried many many different things to correct this problem but still it remains. I can post the CSS here if that would help.

We’d rather you’d make a reduced case example in Codepen. Only include enough HTML & CSS to demonstrate the issue.

If it was me though, I don’t use floats when I know I’m going to be centering elements. I use display:inline-block and text-align:center on the wrapping element.