I would like all images on a page to be the exact same width in pixels (say for this example, 300 px). What do I have to specify in CSS so that the images are all 300 px wide but still maintain their ratios with their heights
For example, say I have two images (a) 150 X 100 and (b) 600 X 1000. They should become (a) 300 X 200 and (b) 300 X 500. Please don't hesitate to ask for a clarification if you need one.