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

Home Forums CSS cinch sections closer

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

    i need help with cinching the sections closer. i cannot figure out how to do that. tried using nth-of type. but since it does not work on

    i’m lost. i did the following thing: .employee + .employee {padding: 1em; margin: -5em 2em -5em 4em;} it cinched it up in dreamweaver, but not in my browser even after quitting browser (ff) and relaunching it.
    hope the pen will show up

    Your clearfix class has a margin-top on it.

    I have no idea why.

    Also your `.employee` class has a some pretty large margins.


    I put those margins there as I thought it would combat the gaps.
    Will go try to remove the clearfix margin. See what comes of it.
    Thanks for pointing that out.
    Will let u know how I’m fairing.


    @Paulie_D i commented out the and had the entire main block pop to top cinching up snug to my nav bar. so i cmd-z’ed it to gain back the space.
    well, i guess for now i made the negative margin-bottom even greater. it solved the problem. but i’m certain not the best solution let alone the cleanest.
    if anyone feels like improving my mess i’d greatly appreciate it. im fairly new at this and would love to learn the proper practice.

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