Jump to content

Images HTML standard size for a noob

I have a few different images playing in a slideshow on my site. They are different resolutions and take up different sizes. How can I put all the images in standard responsive container?

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, TheComputerdude said:

I have a few different images playing in a slideshow on my site. They are different resolutions and take up different sizes. How can I put all the images in standard responsive container?

Sorry for giving you a lazy answer of a link, but I think it may help you and I can not help in a different way now.

Here's a link that should help you. If it doesn't, please quote my answer and I will try to help you ASAP :)

CSS Image size, how to fill, not stretch

The code there creates a container that is filled with an image, but instead of stretching the image to fill the container, it "fills" it with the image. It will cut off parts of an image, but it will maintain aspect ratio. You can change the width and height of the container to best match your webpage.

Try, fail, learn, repeat...

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×