This whole concept of liquid layout is new to me. It's frustrating how everything in my layout adjusts except for the images.
I've been attempting to use max-width: 100%
on images, as recommended in various sources.
Yet, no matter how I define max-width
and min-height
for the img container, the images just won't scale.
If you view it on a wide screen, you'll see that the "kid image" remains the same size.
Any ideas on why this image isn't scaling?
Test case:
Browsers: Firefox 15.0 / Chrome 21.0
IOS: MAC OS X Lion - 10.7.3
Resolution: 1920x1200
What I'm experiencing:
The image does not enlarge to fill its container. Its width does not match the article
element that holds it.
What I expect: I anticipate the image expanding until it fits its container entirely. Visually, I want the image to be as wide as the paragraph right below it, aligning perfectly with its right side.