Grow your CSS skills. Land your dream job.

Any way to say this with css3 or other for modern browsers ie8+ ?

  • # December 25, 2012 at 9:43 pm

    I need to say my h1 has 1.8em bottom margin. But if it has #date id directly after the h1 has bottom margin zero? And instead the #date has the bottom margin of 1.8em? I’m strongly guessing a big fat no but thought I’d ask – maybe some css3 thing.

    # December 25, 2012 at 10:01 pm

    how about giving #date a negative 1.8em top margin?

    # December 25, 2012 at 10:41 pm

    Ya I guess I could. Thanks. I have the date id on a few pages and not on 300 others. So I was seeing if there was some one size fits all. The negative margin would work I just have to move the date id location on those few pages. That’s no big

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".