Home › Forums › CSS › My images won't resize….I need your help!!! › Reply To: My images won't resize….I need your help!!!
May 11, 2016 at 12:23 pm
#241521
Participant
You’ve set max-width: 100%;
for each image. This means that it will never be larger than 100% of it’s parent, and does not have a reference to the window size.
The parent of the parent of the images (“#topbarinner”) is hard-coded at 960 pixels, so that block will never resize with the window width, and so the images will never be larger than 960 pixels…but of course that doesn’t help much when your screen is smaller.
If you give #topbarinner a width of 100%, you’ll be going in the right direction.