I’m trying to emulate the Safari / Chrome tabs using CSS (without using tables).
All elements are displayed inline as (display: inline-block) on a bar. That bar is a block on a container that resizes with the window.
What is the simplest way to add elements to that bar so that they’ll be resized if they’re not fitting just like columns in a table with the table-layout: fixed.
Thanks.
you should use
display: table-cellinstead ofdisplay: inline-block–