IE CSS display problem

Discussion in 'CSS' started by Lpspider, Nov 24, 2006.

  1. #1
    Okay, on a menu for a site I have it displays fine in Firefox but in Internet Explorer it doesn't work. basically the a hover effect on a menu link(s). Above the top of the text doesn't hover.

    View www.writingforums.org in IE to see what I mean and hover over "writing", "ezine" or "links".

    Here's the CSS applied to these menu items:

    
    div.vbmenu_control a
    {
    line-height:30px;
    width:80px;
    height:30px;
    padding-right:10px;
    padding-left:10px;
    padding-top:6px;
    padding-bottom:6px;
    color:#FFFFFF;
    background-color:#9EB1AF;
    text-decoration: none;
    }
    
    div.vbmenu_control a:hover
    {
    line-height:30px;
    width:80px;
    height:30px;
    padding-right:10x;
    padding-left:10px;
    padding-bottom:6px;
    padding-top:16px;
    color:#FFFFFF;
    background-color: #CCD7D5;
    text-decoration: none;
    
    }
    
    Code (markup):
    Help is appreciated.
     
    Lpspider, Nov 24, 2006 IP
  2. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If it's only meant to change the colour, from what I can see at least(other than the strange padding-top differences) then it does work in IE the same way it works in FF.
     
    crazybjörn, Nov 24, 2006 IP
  3. buzza_gts

    buzza_gts Active Member

    Messages:
    199
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Works for me except for the padding on the top of the links you mentioned - there is that strange dot after those link which doesn't appear in the HTML?
     
    buzza_gts, Nov 24, 2006 IP
  4. Lpspider

    Lpspider Well-Known Member

    Messages:
    2,216
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    160
    #4
    Basically I want the links to appear all the same- the background to hover on all links completely, including the top half.
     
    Lpspider, Nov 24, 2006 IP
  5. Lpspider

    Lpspider Well-Known Member

    Messages:
    2,216
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    160
    #5
    Any ideas at all? I would greatly appreciate the help.
     
    Lpspider, Nov 26, 2006 IP