Help with HTML code how to change font color?

Trying to change marquee to white color. Do not know how to do HTML. For some reason will not give me option to change font on this.

<img alt="" width="600" height="41" style="border-style: solid; border-width: 1px;" font_size="36pt" font="Arial" speed="10" alignment="center" direction="left" text="25 year no clog guarantee!!!" class="scrollingMarquee" src=" /></font>

this is the script

4 Answers

  • gld
    Lv 4
    1 decade ago
    Favorite Answer

    Go to this line in your html file:

    var gds_marquee_contents28708746='<center><span style="font-family:Georgia;font-size:36pt;white-space:nowrap;">' + gds_Text28708746 + '</span><center>';

    Right in front of the part that starts ...font-family:Georgia;

    Insert this:


    So that it reads:

    var gds_marquee_contents28708746='<center><span style="color:#FFFFFF;font-family:Georgia;font-size:36pt;white-space:nowrap;">' + gds_Text28708746 + '</span><center>';

    That should do it. Let me know if it fails.

  • 1 decade ago

    You seem to have two tags running together here. You have an image tag with the following attributes:












    Who knows what else.

    These are not valid attributes for an image. Then you suddenly have a closing font tag. I suggest you do a search on google for "HTML tutorial" and learn a bit.

    Also, marquees are evil, so don't use them.

  • 1 decade ago

    In your code find these lines:


    <SCRIPT language="JavaScript">


    //set the marquee parameters

    function init28708746() { marquee28708746.start(); }

    var gds_Text28708746 = '25 year no clog guarantee!!!';

    var gds_Direction28708746 = 'left';

    var gds_marquee_contents28708746='<center><span style="font-family:Georgia;font-size:36pt;white-space:nowrap;">' + gds_Text28708746 + '</span><center>';

    marquee28708746 = new xbMarquee('marquee_28708746', '53px', '566px', 6, 100, 'left', 'scroll', gds_marquee_contents28708746);

    window.setTimeout( init28708746, 200);



    You want this line of code:


    [cut code] space:nowrap;">

    Change to this:


    [cut code] space:nowrap;color:white;">

    I just added "color:white;" after "white-space:nowrap;". Simple. I suggest you find it and that little bit to your code, don't copy/paste this code in there. Yahoo Answers messes up the complete code.

    Source(s): Years of experience.
  • Hazel
    Lv 4
    4 years ago

    <Font color="(Any Color)> </Font color="(Any Color)"> <Font Size="12"> </Font Size="12">

Still have questions? Get your answers by asking now.