Forums

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

Home Forums JavaScript Padding? between two h2 tags, how to get rid of it

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33082
    mikeman
    Member

    I understand this may be odd the way this code displays, but this is how i need it, the only thing i cant figure out is how to remove the padding between the two, the first one remove the bottom, and the second, remove the top.. but that doesnt work cause when i set it to 0 it does nothing…

    If you want something different...


    you must do some things differently!

    i need this to display how it does, but the text from each h2 be brought closer to the other.. any ideas? thank you

    #73462
    OniLinkCR
    Member

    Why are you using padding to cut the distance between both? Make use of negative margins instead (bottom one, I guess).

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