Forums

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

Home Forums CSS help with nav menu

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38132
    cybershot
    Participant

    maybe I am to rusty. I have a column that is 695px; wide. I put my nav in that column in an ul list. Floated the li left so that the nav is inline. Made the ul 613px wide so that I can use margin 0 auto to center the ul above the content. It is right where it is suppose to be. The only problem is that the navigation is on the left side of the page. I want it on the right side of the page. I figured there would be a way of doing this that would allow the ul to stay fluid without having to provide a smaller width and then float it over. Am I forgetting something?

    #103094
    ylc66
    Participant

    an example on jsFiddle ? any link so we can have a look on your code ?

    #103104
    Billy
    Participant

    If you want the nav to be inline, then you should use

    display: inline;

    And if you want to style the things like blocks but keep it inline, then you can change it to

    display: inline-block;

    When you mean the navigation on the right… you mean the column or the <ul>?

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