PDA

View Full Version : Help moving the navbar up...


photodog7
Jun-10-2009, 11:00 AM
I am trying to move my navbar up a bit. I have changed amrgins and padding and see no change.

What am I missing? How do I adjust it?

Thank you.

denisegoldberg
Jun-10-2009, 02:02 PM
Your navbar is sitting just under the space reserved for your navbar. That image has a height of 100px; yet it has a good chunk of space above and below the letters. I'd start with redoing your logo image so that it has less height.

You could use a negative margin-top on your navbar, which will also move the navbar up. I don't think using negative margins is a good idea though - they can cause problems for you in the long run. Here's the CSS though:
#navcontainer {
margin-top: -25px;
}

--- Denise

photodog7
Jun-11-2009, 05:34 AM
Your navbar is sitting just under the space reserved for your navbar. That image has a height of 100px; yet it has a good chunk of space above and below the letters. I'd start with redoing your logo image so that it has less height.

You could use a negative margin-top on your navbar, which will also move the navbar up. I don't think using negative margins is a good idea though - they can cause problems for you in the long run. Here's the CSS though:
#navcontainer {
margin-top: -25px;
}
--- Denise
Thanks for the advice Denise. I'll rework my image.