I have the following situation:
In a bootstrap row with 2 columns:
- first column with a table that has a button to add new rows
- second column with a label and a span (it does not have to be a span)
The two columns have the same height, but I want the label and the span to fill the column. The label has a fixed height and the span should have the remaining height. I tried using height: 100%, add an intermediate div, but with no success
Can this be achieved?
Edit: Here is what I would like:
<div>
<label>Descriere</label>
<span class="editorWidth positionDescription">This text is variable
This control should expand as the div in left
Also it should support scrolling if the text is greater than the allocated space
Extra
Extra
Extra</span>
http://jsbin.com/niyenudufo/edit?html,css,output
The span.positionDescription should fill the rest of the div. I tried to convert the span to div but the scroll of the div is created outside of the containing div