how to shrink pics wider than 80px but don't stretch pics smaller than 80px?
Posted on 2007-08-05
When display the Imgs (gifs and jpgs) with no CSS, they are a variety of widths:
Some are 20px, some 60px, some 100px, some 120px, etc.
I need to set up the css so no pic is displayed wider than 80px;
But I do NOT want to stretch the ones that are smaller than 80px.
I ONLY want to shrink the ones that are wider than 80px.
In other words:
the 20px one would appear 20px wide
the 60px one would appear 60px wide
the 100px one would appear 80px wide
the 120px one would appear 80px wide