css and h1 tags

Discussion in 'Programming' started by calisonder, Jan 25, 2007.

  1. #1
    alright.....

    i just edit my <h1> attributes in my pages, and i was able to change the size, using css.

    but the problem is, that although the size of the text inside the <h1> tags is much smaller, there is still a large gap (the size of an h1 tag with no css added) between my "h1" text and the "regular" text below it.

    does anyone know how to fix this.

    thanks

    my code:

    h1{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #ffffff;
    }
     
    calisonder, Jan 25, 2007 IP
  2. calisonder

    calisonder Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i found the solution...


    margin-bottom:0px;
     
    calisonder, Jan 25, 2007 IP