HTML and CSS Help #141116
BodyI am trying to make a GitHub pages site for a photography portfolio, but I am having an issue with the spacing of the images in one of the subpages. Is there a good way to fix this? It only happens on computers, on Edge mobile and Safari on iPhone it works perfectly. Guidelines
|
Replies: 2 comments 4 replies
|
Hi Ethan, Thanks for your detailed description. After reading your post carefully, I noticed what you are facing now. When you reduce the window size, the images are only in three columns, and one column. Not two columns. You will have to fix this to complete it perfectly. That could be an issue. To fix it, you need to add more variables to control precisely. If you are interested, please DM Hope to contact with you soon. Best regards |

Sorry, my English is not so good. For fixing the spacing issue, you can use flexbox instead of
float. This helps with better spacing between images. Here’s an example:I hope you mark my answer as correct.