PDA

View Full Version : Question concerning Dynamic image selector



a_dizzle_dub
01-23-2007, 09:15 PM
1) Script Title: Dynamic image selector

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

3) Describe problem: Ok, I was wondering if there is any way I can change the color of the font in the description? My page has a black BG and I cannot see the fonts in the description.

Thanks, Adam.

jscheuer1
01-24-2007, 07:13 AM
There is nothing in the script which is setting any particular color for anything. You probably could take care of this in your stylesheet with:


body {
color:white;
}

But, I have no idea why your page is messed up like that to begin with, you should already have it styled in a way that would prevent dark text on a dark background. So, a more complex solution may be required. You can always use spans in the array to set the text color, ex:


description[0]="<span style='color:white;'>DHTML: The Definitive Guide<\/span>"