Forums

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

Home Forums CSS [Solved] Relative Position and div

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27508
    SalidaGuy
    Participant

    Hello,

    I am trying to move my navigation sidebar up over the header image, this works fine, using relative position, and a -330 top setting. However, it does not move up the whole div, leaving a large empty space below the div, where it would be without the -330 setting.

    [img]http://pinondevelopment.com/New/Screenshot.jpg[/img]

    The green area at the bottom is the empty space that I cannot remove.

    The site can be seen here:

    http://pinondevelopment.com/New/

    I am pretty sure the difficulty and solution lives in this css id

    Code:
    #menu {
    float: left;
    position: relative;
    width: 250px;
    top: -330px;
    left: 5px;
    background-image: url(images-menu/Menu-Background.png);
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 20;
    margin: 0px;
    padding: 0px;
    }

    I have played with changing the order of the header and menu divs, but get the same issue, except I have to move the header div up a bunch.

    Thank you in advance for any suggestions.

    Mark

    #69171
    SalidaGuy
    Participant

    Virtual, you nailed it. Looks great!

    Thank you for the quick response, and welcome to the community.

    I will work out the validation on Monday.

    Thanks again, mark

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