nav positioning in ie help

Discussion in 'CSS' started by simonesc, May 28, 2009.

  1. #1
    Hi,

    I can't figure out why my top nav won't stay in place in ie. Here's what I have for my nav. Works everywhere but ie, its position (just the height) it's off. Thanks much for any help.

    Simone

    div.navigation {
    position: relative;
    left:160px;
    top: 140px;
    line-height:0;
    border : 0 solid #000000;
    overflow : auto;
    width : 50%;
    font-size : 20px;
    font-weight: bold;

    margin: 0px 0 0 0px;


    }
    div.left {
    width : 45%;
    float : left;
    }
    div.right {
    width : 30%;
    float : right;
    }
    a.navigation {
    border-bottom : 5px solid #99c37f;
    text-decoration : none;
    color : #4c2110;
    font-size: 20px;
    }
    a.navigation:hover {
    border-bottom : 5px solid #99c37f;
    text-decoration : none;
    color : #4c2110;
    font-size: 20px;
    }
     
    simonesc, May 28, 2009 IP
  2. hasnatme

    hasnatme Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try removing line height...its render differently in different browser.
     
    hasnatme, May 29, 2009 IP
  3. simonesc

    simonesc Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    THANK YOU!!! that worked, I really appreciate it.

    Simone
     
    simonesc, May 30, 2009 IP