CaldwellYSR
Member
I have a horizontal navigation bar in a wordpress template that I'm working on right now. I want the list to stretch the full 960px of the container by defining a specific width for each list item. I can do this pretty easily if I know how many items are going to be in the list, but since this is a WP template the size of the menu could change. I could, pretty easily, figure out the correct width using javascript (960 divided by the number of li's in the list) but I'm not sure that's the correct way to do it... Any suggestions for a noscript way to accomplish it?