List item images perfect on Chrome/Edge, css fudged on FF/IE [closed]

Apparently FF/IE need an extra line of code to declare that a div only can take 100 % width of its parent. Sorry for answering this myself, kept searching and eventually found a working solution.