Personally, I like the accepted answer, in which there is no exact way to do this, and not using a form trick.
For me, this is an annoying problem, because of which from time to time you can spend an hour trying to figure out why a number of checkboxes, for example, are not all aligned correctly. Therefore, I had to quickly and quickly check if there is a css rule that I did not remember ... but it seems not :(
As for the next best answer, using font-size ... for me, this is an unpleasant hack that will later bite you, wondering why your text is not displayed.
I usually develop a lot with PHP, and in the case when I create a grid of flags, the generated PHP content removes this problem, since it does not insert any intervals / breaks.
I just suggest either dealing with images that are on the same line together, or using the server side of the script to create content / images.
Mayhem Jan 12 '15 at 10:22 2015-01-12 22:22
source share