Use margin or padding settings (top or bottom) for the img tag in your container div - something like:
Code:
#container img {
margin-bottom: 5px
}
That will make sure each image has a margin of 5px beneath it regardless of the height.
If you add a margin-right of 5px and float all of your images to the left - they will then align in columns... without knowing your div or image dimensions I can't give you an exact example.
Code:
#container img {
margin-bottom: 5px
margin-right: 5px
float: left;
}
Here is a good css float tutorial
Bookmarks