How to place two divs side by side where one sized to fit and other takes up remaining space?
问题 This should be easy... why is this not easy? I am looking to have 2 divs side by side, where one div will auto size to the content inside and the second div will simply fill the remaining width. I need the text in the 'remaining width' div to be truncated if it is too large though, as I can only have these divs occupy one line. I have been searching all day and the closest I found was this post which suggested using tables that STILL didn't fix the issue. Here is the jsfiddle code that