1

I want to set such layout both columns are dynamic - one is set by content second by the first column and minimum width. I found many solution where column is fixed with width but it no solves this problem.

See what I want achieve on screen.

enter image description here

What CSS I should use?

2 Answers 2

1

There are different approaches for stuff like this ... an easy way would be to use display: table; for the container display: table-cell; for the childs and width: 1px; for the first child.

I have made a fiddle for you:

http://jsfiddle.net/TfuTE/

Sign up to request clarification or add additional context in comments.

1 Comment

Looks that need table layout. Thanks for hint.
0

check out this

http://codepen.io/Parthmy007/full/HKJuj

use Display : "table-cell" on both column or set max-width and min-width.and set first column width is "auto".

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.