PDA

View Full Version : IMage thumbnail viewer: font color



JK Scariano
04-23-2007, 07:22 PM
1) Script Title: Image Thumbnail viewer

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

3) Describe problem: Does anyone have any idea of how to change the font color on the title that is displayed on the larger image? Seems like default is black and, although I have tried to apply different styles to it, it doesn't affect a change. Thanks.

ddadmin
04-23-2007, 07:34 PM
The title (aka description) is simply inserted into the same DIV that shows your enlarged image. In the demo, it would be this DIV:


<div id="loadarea" style="width: 600px"></div>

So to style the text, you would simply use CSS within that DIV, for example:


<div id="loadarea" style="width: 600px; color: red; font-weight: bold"></div>

JK Scariano
04-23-2007, 08:22 PM
...for your quick reply.