I have a parent div of a fixed width, and 3 divs inside, in one line. I would like that the 2nd and 3rd divs have the widths that fit its' contents, and 1st div would occupy the rest of the parent's width. All divs are single lines of text (`nowrap`), first column can truncate text if it is too long (`overflow:hidden`).
I don't want to specify any widths explicitly, apart from the parent div.
border: 1px solid black;
/*width:150px;*/ /* I don't want this! */
span me me me me me me me
overflow:hidden; not overlap...
以上就是Div with maximum possible size (column spanning available width)的详细内容，更多请关注web前端其它相关文章！