I am looking to display items in a list with a specific format:
|Name | Some other val1|
|Very very long no wrap line that...| Some other val2|
- The right side needs to have a fixed width.
- The left side should fill all available width up to the right pane.
- This layout must be responsive to screen resizing, especially for mobile devices where orientation changes occur frequently.
- Text on the left side must not wrap and should be truncated using ellipsis (text-overflow: ellipsis).
In simpler terms:
|<-- flexible, multi-line, but not wrapping (uses ellipsis) -->|<-- fixed width -->|
I've experimented with float: left, float: right, overflow:hidden, and margin adjustments without success! Would it be better to use a table?