Forum Moderators: not2easy
img { max-width: 100%; } does not make the image fill up 100% of the available space, it makes the maximum size of the image the maximum size it can be which depends on what size the image is (unless it is forced to other dimensions). A 250px image can only be 250px wide at max-width of 100%. A 650px wide image has a maximum of 650px at 100%. The CSS as shown will reduce the size depending on the size of its container. If the container is a fixed width of 650px, it won't resize gracefully with a browser window. The excess can be hidden or it may have horizontal scrolling.