I have 2 divs which I want displaying side-by-side, both within another div which is 1000px wide.
The div on the left has a variable width which is dictated by its content.
The div on the right needs to shrink or expand depending on the width of the left div, so that both together always fill the 1000px parent. Similar to how table cells work.
Can someone help me achieve this using CSS please?