And include some information describing their behavior and the environment in which they reside. Are they expected to be responsive or are they clickable links, for example? Knowing how much content will go in them and of what type helps to estimate their size requirements. ETC.
Without knowing what you have tried which would have taken less than five minutes to creat a free account in a free web hosting which I have mentioned before or as @Mittineague Suggested a Codepen or Fiddle.
The image does not help, the script is essential and @ronpat’s suggestions.
because you are declaring the boxes to be inline-block but not setting vertical-align:top
(default text alignment is baseline. Notice the baselines are aligned?)
almost always; depends on content (oops, I’m repeating myself)
Why not set the UL to display:table and the LIs to display:table-cell (like you described)?
Because inline objects have space between them (like words in a sentence). There are techniques to eliminate that space such not allowing space between the close li tag and the next open li tag </li><li>.
That usually means writing them on one line.
If you insist on separate lines, then you can do this:
<li>....
</li><li>....
</li><li>....
</li>
You can also use comment marks to eliminate the space:
Maybe it depends on how you slept the night before… Who knows?
Floats do not incur the space between elements that inline elements have. The border can be eliminated using a negative margin thereby making one overlap the one beside it, or by using selected border-drawing styles. Both methods can be a bit tricky, IMO. Ultimately, it is the Coder’s preference.
I prefer to use display:table / display:table-cell where reasonable to do so.