Well, firstly, your desired functionality is not how the tabs work in Chrome, they just stay fixed in size until there is not enough space, and then they are compressed evenly to fit. (According to MDN , you can do the following:
To make XUL elements in the containing box the same size, set the containing equalsize attribute of the window to the value always. This attribute does not have a corresponding CSS property. )
Also, a visual representation of what you are looking for would be very helpful; I found some of the requirements quite confusing.
However, I canceled this one . Let me know if it's very close.
ul{ display: -webkit-box; width:500px; background:lightgray; text-align:left;} li{background: gray; text-align:center; height:24px; -webkit-box-flex: 1; min-width:30px; max-width:100px; overflow:hidden; text-overflow: ellipsis; }
source share