Centered Navigation Links Help

May 17, 2012 01:10

I do not know if it's Firefox or my thrown together code. I just cannot get my navigation links to center. I believe what I need is in the code but I may be wrong. Is there anything I can add or take away to get this to work?

My Thrown Together Code )

header:nav links:placement

Leave a comment

Comments 5

av8rmike May 17 2012, 12:53:29 UTC
Please edit your post to make it public.

In this section:
#header-text ul.nav {position: absolute; bottom: 0px; left: 0px; width: 100%; margin:0px; padding: 0px; height: 40px; line-height: 40px; border-top: 1px #bbbbbb; border-bottom: 1px #bbbbbb; background: #e6e6e6; text-transform: uppercase; }

I would remove the "width: 100%" and change
padding: 0;
to
padding: 210px;

Reply

regisjr May 17 2012, 16:47:48 UTC
That made the header disappear. Thank you for the help. I was appreciated.

Reply

av8rmike May 17 2012, 17:28:18 UTC
Sorry, my bad, I cut & pasted wrong. This line:
padding: 210px;
should be
padding-left: 210px;

Reply

regisjr May 17 2012, 19:44:10 UTC
The whole bar moves now. Is there a way to fix that? Please and Thank you.

Reply


Leave a comment

Up