Forums

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

Home Forums CSS UL nav issue..

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

    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;

    }

    #116005
    Watson90
    Member

    Change your last selector to

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

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