Best way to Caption Images?

  • dyfrin
  • Expert
  • Expert
  • User avatar
  • Posts: 503
  • Loc: WI

Post 3+ Months Ago

Hi guys,

Was thinking what the best and cleanest way to add caption text to images is.
Discussion really is between: tables, css, and scripting.

What have you found the best to work with?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

what do you mean add a caption? like adding one at the bottom of an image? I'd probably use a div and then just add the text and the image inside the div ...
  • dyfrin
  • Expert
  • Expert
  • User avatar
  • Posts: 503
  • Loc: WI

Post 3+ Months Ago

For single images a div with a break work fine.
When doing about a 3x3 with images/captions, you can float the divs or use table to present it in a grid format. Some even believe to use lists or definition lists.

Which do you use and prefer? I have used tables to line up the text but I am looking for the least, cleanest code to do such.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 49 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.