How to place two divs side by side where one sized to fit and other takes up remaining space?

后端 未结 3 1786
被撕碎了的回忆
被撕碎了的回忆 2021-01-02 01:58

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 si

3条回答
  •  再見小時候
    2021-01-02 02:13

    This should work for you buddy.

    
    
    
    
    
    
    I am long and should be truncated once I meet up with the size to me text. Size to fit me completely

    Your working jsfiddle --> http://jsfiddle.net/gMxWc/68/

提交回复
热议问题