Captions Under Thumbnails

| | Comments (0) |

Trying to figure out a way to display thumbnails horizontally with captions without using tables. Ran into this suggestion to use a DL tag (data list) which has a DT tag for a title (which can be the image) and a DD tag for data (which can be the caption.)

<style type="text/css">

#wrap {width: 500px;
}
dl.gallery {float: left; width: 150px; padding: 2; border: 1px #f00 solid; margin: 0;
}
dl.gallery dd {padding: .0em; margin: 0;
}

</style>

A Definition List:

Thinking Come Back
Lights Out and Fugetta Bout It

Not sure this is easier than tables which I'm using here:

Thinking Come Back
Lights Out and Fugetta Bout

Categories

Leave a comment

About this Entry

This page contains a single entry by Jeb published on May 29, 2005 11:43 PM.

iTunes Party Shuffle Problem was the previous entry in this blog.

Customizing MT Templates is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.31-en

Good Reads

Flickr Badge

www.flickr.com
This is a Flickr badge showing items in a set called Wallet. Make your own badge here.