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
  • #27508


    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.


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

    The site can be seen here:

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

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



    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.