![After the div floats, it is arranged in one line. After removing the floats and setting the display of div to inline block, it cannot be arranged in one line. | Develop After the div floats, it is arranged in one line. After removing the floats and setting the display of div to inline block, it cannot be arranged in one line. | Develop](https://imgs.developpaper.com/imgs/3904089223-57fdbb51c7d0f_articlex.jpg)
After the div floats, it is arranged in one line. After removing the floats and setting the display of div to inline block, it cannot be arranged in one line. | Develop
![pure css masonry view: remove all (vertical) white space between variable height divs - Stack Overflow pure css masonry view: remove all (vertical) white space between variable height divs - Stack Overflow](https://i.stack.imgur.com/pS5uG.png)
pure css masonry view: remove all (vertical) white space between variable height divs - Stack Overflow
![How to align text to the right side of an img without using float:left so it wont change the default parent div height - Stack Overflow How to align text to the right side of an img without using float:left so it wont change the default parent div height - Stack Overflow](https://i.stack.imgur.com/V2EpS.png)