mattgb1
06-01-2007, 01:36 PM
I totally love the CSS Popup Image Viewer control but when I add long caption text to the enlarged image (as in example below), the text wraps to the width of the thumbnail. The only width setting I can find is the thumbnail's width, and I don't want to stretch that out. What can I do?
<a class="thumbnail" href="#thumb">
Images/KNO07230.JPG<span>
Images/KNO07230.JPG
Thumbnail example that uses both thumbnail and full-size imagesfrolm the same image.</span>
</a>
Let's say the tumbnail is 1 inch wide, and the larger image it brings up is 3 inches wide. The text that I add below it (let's call it a caption) wraps inside of a 1-inch wide space. In the example below, I deliberately added a large string ("Thumbnail example that uses both thumbnail and full-size imagesfrolm the same image.") to illustrate how this wrapping occurs.
What do I need to do in order to set the text-wrapping space's width to the same width as the image?
<a class="thumbnail" href="#thumb">
Images/KNO07230.JPG<span>
Images/KNO07230.JPG
Thumbnail example that uses both thumbnail and full-size imagesfrolm the same image.</span>
</a>
Let's say the tumbnail is 1 inch wide, and the larger image it brings up is 3 inches wide. The text that I add below it (let's call it a caption) wraps inside of a 1-inch wide space. In the example below, I deliberately added a large string ("Thumbnail example that uses both thumbnail and full-size imagesfrolm the same image.") to illustrate how this wrapping occurs.
What do I need to do in order to set the text-wrapping space's width to the same width as the image?