I'm seeing an issue I've never encountered before. I've searched for the answer, but having a hard time finding the right search terms to find a solution.
I have a row with 3 divs. Using Bootstrap, all three have class="col-md-6"..ie the divs take up 50% width of the row. The content inside them is dynamic, so each div may or may not be in any given view. What I'm trying to achieve is to have them wrap in such a way that if all three have content, two will be on the top "row" and the third below. I have that part working.
The content inside each Div is dynamic, meaning sometimes any given Div may be longer than the other.
So here is what happens:
- THIS IS WHAT I WANT TO HAPPEN IN SCENARIO 01 - If Col #1 is longer than Col #2, Col #3 fills in directly below Col #2. This is what I want to happen:
- THIS IS NOT WHAT I WANT TO HAPPEN SCENARIO 02 - If Col #1 is shorter than Col #2. Col #3 fills in under Col #1, but it starts where Col #2 ends, leaving a gap.
- THIS IS WHAT I WANT TO HAPPEN SCENARIO 02 - I'd like Col #3 to fill directly below Col #1
Any ideas?
Thanks in advance.