Since we don’t have those images on our computers, would you please assign width and height attributes to each one with the proper dimensions (which you should do routinely, anyway). We often have to convert them into placeholders so we will not see the alt text (which is what I see now).
Also, please describe the trouble that you are having. There is no guarantee that I will see the same thing that you see when I try the code on my PC. A screen shot might really help along with a description of what you wish to see. You can drag and drop it into the post.
Essentially, I am requesting that you inclulde more information so we do not have to guess. We need help and guidance, too, to help you.
A working page that demonstrates the issue is a great help. Much better than snippits that show nothing.
Hi Stribor45, just like @ronpat mentioned , we would like a screenshot of the problem you are having. I just tried your code and it looked like this on my browser.
After giving the border a color other than invisible white, and creating some placeholder images, this is what I see.
It changes width in proportion to the width of the browser window. What is the problem???
@Stribor45, okay now I understand your question. Thank you. I believe if you add position:absolute; to each of your images you can stack them up. Hope this helps, please let us know if this is what you are looking for.