treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] UL nav issue..

  • Hi there, I'm using bootstrap to get going, but having an issue trying to get a custom simple nav.

    I'd like just a simple ul li nav with links to the top right of the page.

    Here is what i'm using at the moment, however the links are being displayed vertically...maybe a clearing issue?

     .min-nav {
    text-align: right;}
    padding: 10px;
    margin: -30px 0 20px 0;
    
     }
    
    .min-nav ul {
      text-align: right;
      margin: 0;
      padding: 0;
    }
    
    .min-nav < ul < li {
      list-style-type: disc;
      margin: 0px;
      padding: 0 10px 0;
      font-size: 12px;
      float: right;
      font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    
    }
    
  • Change your last selector to

    .min-nav > ul > li { Your code }