sizing images in a container css code example Example: resize img to fit img { max-width:100%; height:auto; }