• Hi folks,

    Wonder if you can help me.

    Images in blog posts are not resizing in IE11 (probably older versions too but not so bothered about that).

    I have tried to Google this issue and I think it has something to do with ‘max-width’ not working in IE11.

    Can anyone recommend a solution in the CSS?

    Here is the site I’m working on:

    https://warcraftworkshop.com/

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter tomwls

    (@tomwls)

    Update: I half fixed the problem.

    By adding ‘width: 100%’ to the img tag it has scaled down the very large images to the width of the container.

    However, now any images that weren’t bigger than the container are stretched to the size of the container, making them really pixelated.

    Any thoughts?

    img {
    	height: auto; /* Make sure images are scaled correctly. */
    	max-width: 100%; /* Adhere to container width. */
    	width: 100%; /* IE11 fix. */
    }
    • This reply was modified 5 years, 4 months ago by tomwls.
Viewing 1 replies (of 1 total)
  • The topic ‘Images not resizing in IE11’ is closed to new replies.