Creating a website for a friend who needs to frequently add images without any coding knowledge. To make it user-friendly, I designed the div to display images horizontally and expand accordingly so he can simply insert more images in the code and upload them via FileZilla.
Struggling to ensure the div reacts dynamically to its content. Here is the current code:
#images {
width:5000px;
height:500px;
display:inline-block;
margin-left:250px;
margin-top:-80px;
}
#images img {
height:500px;
}
Although it currently works, adjusting the div's width manually each time new content is added isn't ideal. Looking for suggestions on how to make it grow automatically with the content.
Any help or ideas would be greatly appreciated!