Project

General

Profile

Can anyone help me with my problem resizing images?

Added by Matt Picas over 8 years ago

Hi everyone, so I have no problem resizing 1 image in my application using CSS. I am using a container with a style class and an image with a style class and then using the container as a selector onto the image like this:

.homepage .homepageLogo {

max-width: 100%;

max-height: 100%;

}

.homepage is my container and .homepageLogo is my image and it resizes great on different computer screens. My problem is when I have more than 1 image, it keeps pushing the images down below one another and then it resizes them and I want them to stay where they are. I've been searching google but can't find anything, Can anyone help me please on how to fix this?