All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

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

    This reply has been reported for inappropriate content.

    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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed