Results 1 to 4 of 4

Thread: How to change the font of a script.

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

    Default How to change the font of a script.

    Dynamic image selector All

    http://www.dynamicdrive.com/dynamici...geselector.htm

    Is it possible to change the font and color of the descriptions?

    var description=new Array()

    description[0]="can I change the font and color of this text"

    ----------------------------------
    Also, is it possible to change the font and color in the selection list box?

    Thank you
    Val

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Hi

    description[0]="can I change the font and color of this text"
    Yes, change this line in the script:
    <td width="65%" valign="top" align="left"><ilayer id="dynamic1" width=100% height=178><layer id="dynamic2" width=100% height=178><div id="dynamic3"></div></layer></ilayer></td>
    TO:
    <td width="65%" valign="top" align="left" style="font-family: Verdana; font-size: 12pt; color=#FF6060"><ilayer id="dynamic1" width=100% height=178><layer id="dynamic2" width=100% height=178><div id="dynamic3"></div></layer></ilayer></td>
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  3. #3
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much. I will try that.

    Sincerely Grateful,
    Val

  4. #4
    Join Date
    Dec 2004
    Posts
    177
    Thanks
    0
    Thanked 18 Times in 17 Posts

    Default

    Just remember, the font you choose MUST be available on the user's pc, otherwise it will display as either the default, or the next famil in the line. Not until CSS3 is the ability to download fonts supposed to arise.
    Verzeihung!

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
  •