RobLab addition - Dynamic column width without tables
I regularly express my opinions here about how things should be developed, and now I thought it was time to share something I recently created.
In my current project, I came across the need to have a dynamic column width, i.e. a minimum width but if the editors enter some content that would be wider than it is supposed to be (through their CMS“), it should react as a table does and dynamically resize itself and its sibling column.
Personally, I still wanted the control through CSS, therefore I created a CSS-based dynamic column width solution that I put in RobLab.
I also have a question: do you think it was worth it? Would you’ve done the same or resort to using tables?
PS. Thanks to Kristin VÃ¥gberg for being a good discussion partner while creating this. DS.






