Auto Fit Width?

admin

Administrator
Staff member
I am making a horizontal bar menu for my webpage, but I cant find a width (for the class I am applying to each of my 6 menu items) to fit it right...

If i do 112px, theres white space at the end, if i do 113px, it doesnt fit!

if i do 112.3px or some other decimal, weird things happen- like white space inbetween the menu items, or some sort of overlapping action!

is there a way to auto fit it or something!

quick help appreciated!If you want the list items to fill however much space they naturally fill + some padding, you can do it like this : <!-- m --><a class="postlink" href="http://bonrouge.com/test/list.htm">http://bonrouge.com/test/list.htm</a><!-- m -->. If you want them all to be roughly the same width, you might have to give 2 or 3 of them a class and give them a pixel less than the others.
 
Back
Top