View Full Version : Lightbox V2.03 text issue

07-18-2007, 07:52 PM
1) Script Title: Lightbox V2.03

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem: Everything about the script is good. My only problem is that I would like more control in title field. Is there a way of making text return on to another line. here is an example below.

first last
Madame Pieter Van Bleiswijk, 2006
Limited edition print 7 of 25
Oil wash drawing "8x10
Courtesy of the artist
Estimated retail value: $1
Starting Bid: $1

It jumbles every thing into one continuos line. which i dont want.

07-18-2007, 09:14 PM
Two possible ways - you can set the width of the caption in the css

#lightboxCaption{ float: left; width:70px; }

Or you can add break tags where you want them in the html:

<a href="" rel="lightbox" title="Madame Pieter Van Bleiswijk, 2006<br />Limited edition print 7 of 25">image #1</a>