PDA

View Full Version : auto spacing


skinner927
09-07-2006, 10:47 PM
I'm sure this has been asked before but i searched and couldn't find anything.

I wanted to know if there was a way to automatically space navigation links.
I hate having to manually add margins and check to see if it looks good.

I'm able to use css, php, javascript or anything else you can dish out.

If you dont understand what i'm getting at, here is an in depth explination:
I have a bunch of links that may either increase or decrease depending on whats going on. These links are the main navigation. I want to be able to add and remove links and have the page dynamicly adjust itself so everything is even without me having to play with nbsp s or margins.


thanks for the help.

_Aerospace_Eng_
09-07-2006, 10:53 PM
Depends how you want the links to "adjust". Do you want them to remain centered or what?

skinner927
09-07-2006, 11:11 PM
yes, centered at all times, evenly spaced apart

_Aerospace_Eng_
09-07-2006, 11:15 PM
http://www.cssplay.co.uk/menus/centered.html

skinner927
09-07-2006, 11:50 PM
Thank you thank you thank you!

This should be exactly what I need. I've only skimmed through it as I'm currently attacking a long list of homework. Once i'm done I'll take an in depth look at it but it looks to be exactly what I need.

Again, thank you very much for your fast responces and accurate answers.