Work with varying widths as in letting them be varying widths, instead of changing their widths. This is because I need them to be the same height, and various widths, all changing size together, without them being squished or stretched.
Using flex lets them be varying widths, and they change size together, staying on the same line, not changing in relation to each other. But it only works with links for some reason; it would make more sense to me if it only worked with images and not links, but it is the other way around.
The images I am using are parts of a larger picture, so they have to stay the same size in relation to each other or it will break the picture. Certain parts of the picture need to be links and the rest not, so I need flex to be able to work with both links and non-link images in the same line if possible.