Forums

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

Home Forums CSS Drop down menu with css only

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45376
    margaux
    Participant

    I’m struggling to style a css drop down menu. I’ve looked at a few tutorials but I’m not quite getting there. Please look at this pen, [http://cdpn.io/yiKbo](http://cdpn.io/yiKbo “pen”). The aim is for the sub menu to be centred beneath its parent item. Also when hovering over a sub-menu item, the positioning of the sub menu is off.

    I tried to follow a newish tutorial and amend the css values to fit my requirements but I don’t understand why nav ul ul is defined twice in the css and how to position the sub menu so it sits nicely centred under its parent item. Thanks for any help.

    #138060
    margaux
    Participant

    Thanks for your reply. It works nicely. I didn’t understand what the other css was doing but this makes more sense.

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