What is a better solution in terms of size (page loading speed etc.):
I need to have many (up to a couple hundred) small, colored boxes (about 30x30 pixels or so) shown on a single website. Should I
- Make each box a div with a colored background?
- Make each box an image loaded onto the page?
There are only a few (less than 6 colors) and these are being displayed in a table.
Thanks