Forums

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

Home Forums CSS Picture Captions for Album List?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42606
    enjay
    Participant

    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

    Any idea?

    #123952
    Paulie_D
    Member

    This is something that cries out for the figure/figcaption element

    http://codepen.io/anon/pen/kfhFl

    #123962
    Paulie_D
    Member

    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.

    #123979
    enjay
    Participant

    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.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.