Treehouse: Grow your CSS skills. Land your dream job.

navigation float:right or anything else?

  • # December 7, 2009 at 6:11 am

    Hi to all!!

    I’m just trying to spin a navigation div upper, to make it at the right of a central div… but I”m not able to do that right now…

    font-family: “Century Gothic”, Helvetica, Arial, sans-serif;
    width: 200px;
    font-size: 16px;
    font-weight: normal;
    text-align: left;

    float: right;
    position: relative;
    margin-bottom: 800px;
    margin-left: 800px;
    z-index: 2;

    margin: auto;
    margin-top: 120px;
    width: 530px;
    height: 450px;
    overflow: auto;

    What’s wrong with that? Is it right to put the relative position there?

    Thanks so much to anyone!!

    # December 7, 2009 at 7:10 am

    Do you have a live link? its just hard picturing it all :)

    # December 7, 2009 at 7:17 am


    Check the gallery called ‘galleria’ please!! :)

    This is not a my site but actually my attempt is to set as better as I can this old style site…

    # December 7, 2009 at 9:52 am

    Any suggest?

    I put that navigation menu where I wanted but unfortunately this gallery is opend into a pop up so the navigation menu with thhe position: relative goes over the gallery… and that causes a big problem…

    I can’t solve it…mmmm….

    # December 7, 2009 at 10:04 am

    what do you mean by spinning it upper? that is hard to understand lol

    # December 7, 2009 at 10:16 am

    LOL !!

    it means I want the navigation menu goes at the height/2 value of the central div called ‘gallerie’… ( as all simple right menus go usually… ) but the problem is: this div, hence this ‘gallerie’ is opened in a pop up, so if I set the right menu at the same ‘height’ it goes over the central div, so over the photos of the gallery…

    I hope it’s clearer now :P

    here is the liink again, just check the ‘gallerie’ voice:

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

You must be logged in to reply to this topic.