Solved

How an I distribute my links evenly on my nav bar?

Posted on 2012-04-11
2
259 Views
Last Modified: 2012-04-13
Head out to http://muscularchristianityonline.com/campus/about.php and notice the links on my nav bar, how they're bunched up in the left hand corner. I want to distribute them evenly along my nav bar. While I've played with several settings as far as margin and padding, I'm coming up short.

Any suggestions?
0
Comment
Question by:brucegust
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
LZ1 earned 250 total points
ID: 37834925
On the #nav a add text-align:center;

Remove the width from #nav on line 459.

Then add width: 23%; to the #nav li
0
 
LVL 16

Assisted Solution

by:HagayMandel
HagayMandel earned 250 total points
ID: 37840541
Add the following styles:
To #nav (line #588 in the css file): width:100%;
To #nav li (line #483 in the css file) width: 25%; and margin-left: 0px;
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Head to not include on scroll 4 36
CSS Style 8 50
Responsive Image Distorting 2 27
Slow Down an Animation 3 28
When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question