Recently, I've been exploring ways to eliminate the padding that is creating space between images before they align correctly.
The culprit causing the padding seems to be the display: inline-block property. While it was suggested to have all the li tags run together to address this issue, it's not feasible for me as I need the li tags to appear in their normal HTML document order, not side by side.
I attempted commenting out the display: inline-block, but now the images are stacking on top of each other instead of lining up horizontally within the yellow container.
If you're able to offer any guidance or suggestions on what adjustments I should make, I would greatly appreciate it.