Forums

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

Home Forums CSS Centering a bunch of elements inside a div Re: Centering a bunch of elements inside a div

#110562
matt_sanford
Participant

Another option i just thought of would be to add classes to the first and last divs on each row and assigning them specific margin-left and margin-right values respectively. you get to keep the space in-between the “tiles” as close as you want, you just make the margins on the ends bigger.