When using CSS, I know how to resize images with the code snippets below:
img {width:100%; height: auto; }
img {max-width: 600px}
While this method works effectively, it applies to every image on the page. What I really need is for some images to be a specific size (like width=50px) while allowing others to resize up to 600px. Can CSS handle this requirement or should I consider using JavaScript instead?