Forums

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

Home Forums CSS Horizontal and vertical items in one navigation menu

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37632
    N00bDaan
    Member

    Hi there!

    I’d like to have both horizontal items and vertical items in one navigation menu, so far I have the following: http://jsfiddle.net/UGEtV/

    As the whole nav menu need to be in the bottom right corner I need to get the vertical menu to the right, but no matter what I try, I can not get it there.

    Any ideas on this?

    #101188
    wolfcry911
    Participant

    add this:

    nav li {
    float: right;
    clear: right;
    }

    and you can’t use an id more than once per page, so change the #hitem ids to classes
    http://codepen.io/wolfcry911/pen/Ibxep

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