Need to remove space from between two rows in CSS

Discussion in 'HTML & Website Design' started by servantofgod, Nov 24, 2008.

  1. #1
    Here I have two rows of navigation, I am looking to find out how to eliminate or atleast reduce the space in between them, if possible. Thanks.
     
    servantofgod, Nov 24, 2008 IP
  2. Ralph23

    Ralph23 Peon

    Messages:
    493
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In the CSS:

    .solidblockmenu{
    margin: 0 0 1em 0;
    }

    Is what you have. That 1em is making that space appear between the two rows. If you make it 0, there will be no space. If you change it to something like 5px, the space will be 5px long, etc...
     
    Ralph23, Nov 24, 2008 IP
    servantofgod likes this.
  3. greenbaret

    greenbaret Peon

    Messages:
    24
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    try font-size=0;

    in first row
     
    greenbaret, Nov 24, 2008 IP
    servantofgod likes this.
  4. servantofgod

    servantofgod Peon

    Messages:
    61
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks. Worked like a charm. Rep added.
     
    servantofgod, Nov 24, 2008 IP