I have a fixed lateral div (like a menu bar) and I am exploring options for displaying images in a table-like format within the div. The challenge is that these images are dynamically generated.
Specifically, I need to place 10 images in the div. While I can include them directly in html, Javascript will determine which images should be displayed based on various factors, such as user privileges. Therefore, I want the images to automatically re-order themselves.
While I tend to favor JavaScript over CSS, I believe there must be a way to achieve this using CSS (without relying on CSS3 for retro-compatibility) or through a simpler method.
Thank you!