I am trying to create a list of Albums for the picture section of my site. I would like to use a thumbnail of each album as the link, with a caption describing the Album.
How can I set the caption to be below the image?
Small CodePen with the markup: http://codepen.io/enjay43/pen/JIqmD
This is something that cries out for the figure/figcaption element
I’ve used the list format as you have but if it’s just a gallery type thing you could dispense with that and just use a whole bunch of figures/figcaptions and style them accordingly.
This looks great! I was thinking figure/figcaption, but was having a hard time getting my head around it, and couldn’t tell whether it was something people actually use. CodePen was a great help, as usual.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed