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

Home Forums CSS [Solved] div wrap doesn't center child divs

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #164578

    I am tweaking my @media-queries layout, specifically for iPad and android tablets up to 800px. Everything works perfectly, the 3 columns goes vertical but I can’t center the div’s! I added a wrapper, applied margin 0 auto among other things and they just won’t center!

    If you resize your browser to between 768 and 860 you will see the effect.

    Thanks in advance! Cheers!


    Thanks, that works but I lose the spacing between the div’s, they all sit on top of each others.

    edit disregard, I added a margin-bottom: 10px; to the article section and it works! :)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.