I've searched high and low on various online forums for a solution to my current problem, but haven't had any luck yet. I suspect that the issue may lie in how I am wording things.
http://jsfiddle.net/hzRAN/10/ Here is some example code to provide context.
Ideally, I would like this script to automatically adjust if there are changes in page width for optimal performance.
The actual code can be found on this website: It features a fluid layout, hence the need for the horizontal list item to align correctly.
Any assistance you could offer would be greatly appreciated!