I'm building a site and having a problem with this page:
I need to put about 55 images in here (i know that's a lot but they are small black ad whites pics that noone will ever look at it anyway). I want to images to flow like text. So a narrow window gives a single column of images, widen the screen and they go side by side in two columns, widen further to three columns, etc...
But no matter how narrow i make the images or how wide i make the window they always stay as a single centered column. Why?
Here's the css for the page:
This css rule is where i'm tryins to effect the images:
div.sponsors img { margin: 1em; border: solid 10px green; display: inline }
I set a thick green border to show that the rule isn't working. Why? I've tried various ways of selecting the img but can't get anything applied to them (ie. sponsors img, div.sponsors img, etc...).
I need to put about 55 images in here (i know that's a lot but they are small black ad whites pics that noone will ever look at it anyway). I want to images to flow like text. So a narrow window gives a single column of images, widen the screen and they go side by side in two columns, widen further to three columns, etc...
But no matter how narrow i make the images or how wide i make the window they always stay as a single centered column. Why?
Here's the css for the page:
This css rule is where i'm tryins to effect the images:
div.sponsors img { margin: 1em; border: solid 10px green; display: inline }
I set a thick green border to show that the rule isn't working. Why? I've tried various ways of selecting the img but can't get anything applied to them (ie. sponsors img, div.sponsors img, etc...).