Images with maximum density
I'm pre-generating a set of web pages, each with a few hundred small, static, randomly sized images. I would like to fit these images into the smallest area of the page possible. Order of display isn't particularly important.
Is there a general way to maximize the display density of these images?
Currently, I'm doing the simplest thing possible: gridding the images out开发者_运维问答 in a table. Not ideal, since it leaves a lot of whitespace.
Any ideas? Thanks.
you could just make all of the images floats, that would take up the least amount 'screen real estate.
精彩评论