• I wanted to change the color of my black navigation bar (called ‘tabs’ in CSS) on my site: http://2012-101.info. I only changed one word, background ‘black’ to ‘red’ on the following css:

    td{
    vertical-align:top;
    }

    #tabs{
    padding: 0;
    background:black;
    }

    After doing that, the nav bar changed to red, but also moved down about 1″ on the screen. Changing the color back to ‘black’ left the nav bar still out of place.

    Why did it move, and how do I get it back?

    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • you seem to have changed the height in the style of #header (or changed the header image)

    set the height to 205px:

    #header{
    padding: 0  0 0px 0;
    height: 205px;
    margin: 0 0 0px 0;
    border-bottom:2px solid #fff;
    }
    Thread Starter tmag15

    (@tmag15)

    alchmyth,

    Thank you very much!!

    It is interesting though that I changed that yesterday to see what would happen (yes, I have a backup). Nothing seemed to happen. I guess I forgot to update, then forgot to change it back. Duuuhhh.

    thanks again,

    Tom

    Thread Starter tmag15

    (@tmag15)

    alchmyth,

    Do you happen to know how I could make that nav bar larger vertically to accommodate my 2 lines of page links?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Unexpected change in position’ is closed to new replies.