Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] FireFox problem: nested menu not relative to parent li

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #150871
    Harun
    Participant

    This is FF issue, (it looks fine on safari and chrome) The nested menu shows up all the way on the left and not right under the selected item…

    http://codepen.io/hrazith/pen/xumrd

    please help…thanks!

    #150877
    Paulie_D
    Member

    I dislike all those deep selectors (nav ul li ul li a)…I just give each menu level itsown classand it makes things much clearer.

    Here’s a reference version I keep around.

    Hope it’s useful: http://codepen.io/Paulie-D/pen/22c4ca602bda363099133ded6bca2294

    EDIT:

    Try adding left:0; to the submenu css.

    #150879
    Harun
    Participant

    Thanks Buddy, does look simpler..

    #150880
    Harun
    Participant

    ahh…that actually worked!
    left:0;

    Updated Pen:
    http://codepen.io/hrazith/pen/xumrd

    PS: how do I mark this thing ‘solved’?

    #150894
    Harun
    Participant

    i like it!…

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.