I need to program a large graphic mosaic on a web page, and I'm wondering what is best for coding it, so the solution will not be very difficult to program and maintain / modify later.
Here is the design for the mosaic, each image can change, both black and white, and color.

I thought of three different approaches:
<table> solution,<div> , and each div has its position:absolute set in CSS,<div> and placement using JS (array with positions / sizes).
Any other ideas?
source share