I use Superfish 1.4.8 as a horizontal menu
The menu is inside a 900px fixed width div
I would like the Superfish to be 100% (900 pixels) wide, and each lithium width will automatically scale based on the number of elements. The number of items in this menu will change over time.
Basically, I need the same 100% TABLE width behavior and TD autosize behavior
I found the following CSS additions from an old 2009 publication on how to do this:
.sf-menu { width: 100%; float: left; display: table;}
.sf-menu ul { display: table-row; }
.sf-menu ul li { display: table-cell; min-width: 20%; }
It seems like it should work, but it doesn’t, the menu still displays exactly the same
Here it is on jsFiddle:
http://jsfiddle.net/xRcJL/
Could anyone make a Superfish scale to a 100% container?