Once again today, I came across a familiar issue with CSS layouts. I want to have 5 divs in a horizontal row, each with different widths:
- 1: 60px,
- 2: 30%,
- 3: 40px,
- 4: *,
- 5: 100px
Back in the day, tables were the way to go for layouts, but now they are considered outdated due to accessibility reasons. I am looking for a modern solution that can work for any scenario.
Is there a generator, lightweight javascript solution (maybe a jQuery plugin), tutorial, book, or a magic trick that can help me solve this problem once and for all?
While a javascript-based solution is an option, I would prefer a non-script solution if possible.