Grow your CSS skills. Land your dream job.

UL nav issue..

  • # November 30, 2012 at 1:36 am

    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;

    }

    # November 30, 2012 at 2:09 am

    Change your last selector to

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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".