Results 1 to 2 of 2

Thread: Question concerning Dynamic image selector

  1. #1
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Question concerning Dynamic image selector

    1) Script Title: Dynamic image selector

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...geselector.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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    Code:
    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:

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •