The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Thumbnail images with expanded view Reply To: Thumbnail images with expanded view


It would be pretty easy using the :focus pseudo class and the sibling selector:

The major difference is that the thumbnails will be above the preview… you could probably get them below with some messy positioning, but I would say it’s probably not worth it…

You could also look into the “checkbox hack” although in this case I guess it would be more of a radio button hack.

Also, ids that start with a number are invalid, so you should probably change them.