I am currently working on creating a tab overflow user interface that is similar to what Firefox uses. This involves utilizing a combination of fixed width containers and a fluid width container in the middle to hold the tabs.
The challenge arises when there are too many tabs within the tab container. To address this, I have applied
overflow-x:hidden; white-space:nowrap
to ensure all tabs stay within the container on a single line. Additionally, the tabs contain context menus that need to be displayed upon clicking. At this stage, I am focusing on resolving this display issue through CSS without delving into JavaScript solutions.
You can view a demonstration of my objectives in the following fiddle: http://jsfiddle.net/Add9Y/3/.
By uncommenting the overflow lines in the css on lines 5 and 13, you will notice the submenu appearing beneath the first tab, albeit causing an overflow beyond the controls on the right side.
If you have any suggestions on aligning these elements without relying on JavaScript, I would greatly appreciate your insights. Thank you!