[Resolved] Space between grid divs

Home Forums Support [Resolved] Space between grid divs

Home Forums Support Space between grid divs

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #104487
    Adrian Cojocariu

    Hey, in the section of the homepage, I have two divs, one 45% and another one 45% ( wanted it 55% but… ) I want a Gap between them so that the transparent background color of the second one starts where I want, so I placed another div 10% between them and &nbsp but every time I edit it, the nbsp dissapears and it’s annoying, as the div needs some text in it to create the space.

    I tried margin left on the second div and margin right on the first div, but they just get messed out.

    Is there any other way than this third empty div between them ?

    #104497
    Adrian Cojocariu

    Ok… wth I just tried margin right on the first div again and they don’t mess up anymore

    Though now I notice that I have a problem on mobile, the margin is still there, maybe I can give this div a class and use CSS with @media, I’ll give it a try.

    #104501
    Adrian Cojocariu

    Fixed… lOl

    I’m actually gettin’ good at this stuff ๐Ÿ˜€

    #104555
    Tom
    Lead Developer
    Lead Developer

    Haha awesome! Great job! ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.