PDA

View Full Version : Navibar not centering


BeltzClan
Nov-11-2008, 05:22 PM
I did a search first and found nothing that directly resembled my own problem.

The navibar is not centering but is shifted left for some reason. I know it is a simple fix....

Help, please.

jamesbeltz.smugmug.com

Allen
Nov-11-2008, 07:13 PM
I did a search first and found nothing that directly resembled my own problem.

The navibar is not centering but is shifted left for some reason. I know it is a simple fix....

Help, please.

jamesbeltz.smugmug.com
What is this at the bottom of your header? It does nothing but add the an empty div.

<div id="my_header">
<a href="http://jamesbeltz.smugmug.com/"><img alt="" title="" src="/img/spacer.gif"></a>
</div>

This is the best I could do.
Change this like this to center.

#navcontainer ul{font-family:"Gentium","Times New Roman", times, serif;
position:relative; z-index:99; font-size:12px; padding-bottom:30px; _padding-bottom:18px;
left: -15px;
}

BeltzClan
Nov-12-2008, 04:05 AM
What is this at the bottom of your header? It does nothing but add the an empty div.

<div id="my_header">
<a href="http://jamesbeltz.smugmug.com/"><img alt="" title="" src="/img/spacer.gif"></a>
</div>

This is the best I could do.
Change this like this to center.

#navcontainer ul{font-family:"Gentium","Times New Roman", times, serif;
position:relative; z-index:99; font-size:12px; padding-bottom:30px; _padding-bottom:18px;
left: -15px;
}



Perfect. I think I understand what you did. Thanks.