Forums

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

Home Forums CSS navigation float:right or anything else?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27106
    McCss
    Member

    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…

    Code:
    .navi-gallery{
    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;
    }

    .gallery{
    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!!

    #67655
    McCss
    Member

    Ok!!

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

    http://www.doppiostile.it/index.php

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

    #67659
    McCss
    Member

    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….

    #67661
    McCss
    Member

    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:

    http://www.doppiostile.it/index.php

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