I want a two-column div layout, where each one can have variable width e.g.
I just discovered the magic of flex boxes (display: flex). Try this:
Tree View
Flex boxes give me the control I've wished css had for 15 years. Its finally here! More info: https://css-tricks.com/snippets/css/a-guide-to-flexbox/