I have, as in the fiddle below, justified, equally spaced divs which grow/shrink dynamically with window size. Everything works great until you add enough text to one of the divs, and cause it to wrap. In the fiddle below, uncomment to see the effect.
http://jsfiddle.net/jspyx21z/1/
Here's a basic idea of the effect, visually. Without much text:
|Hello--------| |Hello--------|
|-------------| |-------------|
|-------------| |-------------|
|-------------| |-------------|
|-------------| |-------------|
But when text is added:
|Hello How are|
|you doing?---| |Hello--------|
|-------------| |-------------|
|-------------| |-------------|
|-------------| |-------------|
|-------------|
The boxes to the right drop down.
The behaviors which are important to me is that the boxes must:
- Grown and shrink with the window, to a maximum & minimum height.
- Wrap down if the window gets too small
- Flexbox is not an option, in this case. While I love new CSS options, this needs to be at the very minimum IE9 compatible. Ideally, IE8. Extra super if we can get IE7 working.
- Please, no libraries
Could anyone explain why this is happening, and perhaps provide some insight on how to fix it? Thankyou!