Re: [css-d] floats with margins

2009-11-08 Thread Ari Army
>You could create a class for the images on the bottom row img class="last" and change the padding on the bottom to img.last {padding-bottom: 0;} The last row though may be populated by any number of images, as the site is a dynamic CMS like Drupal, so if the thumbnail size changes (if the user u

Re: [css-d] floats with margins

2009-11-08 Thread Alan Gresley
Ari Army wrote: > Hello all, > I have a div container which has many floated images inside of it. The > images have 10px bottom and right margins, so they can space out and look > good. I noticed when I put a background color on the container that it > contains the all the images, yay which brings

[css-d] floats with margins

2009-11-08 Thread Ari Army
Hello all, I have a div container which has many floated images inside of it. The images have 10px bottom and right margins, so they can space out and look good. I noticed when I put a background color on the container that it contains the all the images, yay which brings me to my question... I al