Quote:
Originally Posted by Turtle91
No worries, it's happened to all of us!
Setting the width of the image to 100% and the max-width to the pixel size of the image simply means that it will scale (completely fill) to the size of the parent element (the <div> in this case) but it won't get any larger than the actual image...ie. it won't get over stretched to the point it looks blurry/ugly.
this is not a concern if you have super hi-res images (larger than current displays), but it can be an issue if you are working with small originals.
|
Thanks so much Turtle. You explained that beautifully.