Each of these inner divs share the same width, but their height varies. The outer div is fluid, so it's unpredictable how many will fit on each row. I'm seeking a solution to prevent unwanted line wraps, similar to this visually appealing example:
https://i.sstatic.net/O2LtQ.jpg
Is there a CSS-only way to achieve this without the need for Javascript? Below is my current implementation:
.outer_div {
overflow: hidden;
text-align: left;
}
.inner_div {
float: left;
width: 200px;
}