hX tlemag prob

Discussion in 'HTML & Website Design' started by Toonces51, Feb 15, 2006.

  1. #1
    I'm guessing this has been discussed before, but I couldn't find anything on it, so here goes. I'm using H2 tags on a site, and trying to swithch to non H2 text on the next line, without a space between. I tried putting the H2 tag in one cell, and the regular text in the next cell, but that didn't work, there was still a return.

    Is there any way to do what I'm looking to do? Seems to me that I've done it before, but I have no recollection of how (probably by mistake if I did figure it out).

    Thanks.

    Toonces51
     
    Toonces51, Feb 15, 2006 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Use styles to control the margins.
    
    h2 {
        margin-bottom: 0;
        }
    
    p {
        margin-top: 0;
        }
    Code (markup):
    cheers,

    gary
     
    kk5st, Feb 15, 2006 IP
    Toonces51 likes this.
  3. Toonces51

    Toonces51 !@#$%^&*^%#@#$%

    Messages:
    107
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Well, that certainly was easy. And I was wrong--I certainly haven't done that before.

    Thanks for the help!

    Toonces51
     
    Toonces51, Feb 16, 2006 IP