css - Justified Inline Div Approach Broken with Wrapped Text -



css - Justified Inline Div Approach Broken with Wrapped Text -

this question has reply here:

an element more text pushes downwards other inline-block elements. why? 1 reply

i have, in fiddle below, justified, as spaced divs grow/shrink dynamically window size. works great until add together plenty text 1 of divs, , cause wrap. in fiddle below, uncomment see effect.

http://jsfiddle.net/jspyx21z/1/

here's basic thought of effect, visually. without much text:

|hello--------| |hello--------| |-------------| |-------------| |-------------| |-------------| |-------------| |-------------| |-------------| |-------------|

but when text added:

|hello how are| |you doing?---| |hello--------| |-------------| |-------------| |-------------| |-------------| |-------------| |-------------| |-------------|

the boxes right drop down.

the behaviors of import me boxes must:

grown , shrink window, maximum & minimum height. wrap downwards if window gets small flexbox not option, in case. while love new css options, needs @ minimum ie9 compatible. ideally, ie8. super if can ie7 working. please, no libraries

could explain why happening, , perhaps provide insight on how prepare it? thankyou!

you need add together next style css:

.box_fourth { vertical-align: top; }

demo

css css3

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -