Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    CSS Dropdown menu bar problems

    Dear CodingForums members,

    I would be very grateful for your help on my menu bar problems, live example @

    http://goo.gl/WzDI8

    The first problem: Submenu dropdown for Item 2.
    It works ok in Firefox and Chrome, but is temperamental in IE. Sometimes it drops down in IE, and other times it doesn't, and really depends on how fast I roll over the mouse or where I start the rollover. I know the problem is related to my top/bottom padding, and as you can see I have a hover style which doesn't fill up the entire height of the bar. How can I keep the same style, while resolving the rollover problem with IE.

    The Second problem: Font color of submenu items.
    It ends up being the same color as the parent/main menu in hover(state) white, but I wish it to be grey and then go to white when in the hover state.

    I am very grateful your expert opinion.
    Thank you
    MFox
    Last edited by mfox; 09-16-2012 at 11:59 AM.

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    Quote Originally Posted by mfox View Post
    The Second problem: Font color of submenu items.
    It ends up being the same color as the parent/main menu in hover(state) white, but I wish it to be grey and then go to white when in the hover state.
    Yeah, when the <li> is hovered, all of the <a> tags within it are changed to white.
    You can have it only effect the <a>'s directly after the <li> by using the ">" selector.

    On line 54 of base.css:

    Code:
    #navbar li:hover > a {
        color: white;
    }
    --------------------------

    EDIT: jk, no easy way to fix the first problem.
    Last edited by Sammy12; 09-15-2012 at 04:05 AM.

  • Users who have thanked Sammy12 for this post:

    mfox (09-15-2012)

  • #3
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Sammy - Many thanks for your problem solving.
    I am most grateful.

    I'll await to see if anyone else can help with the first problem
    Last edited by mfox; 09-15-2012 at 06:09 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •