http://qs1969.pair.com?node_id=373581

diggernz has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Change Text Box Color
by ViceRaid (Chaplain) on Jul 12, 2004 at 12:15 UTC

    This question isn't about Perl, it's about HTML and CSS. Asking about things not Perl-related annoys some people here, so please don't do it.

    To answer your question:

    <input type="text" size="10" maxlength="20" value="xxx" style="background-color: #FF6600">

    chrz
    ViceRaid

Re: Change Text Box Color
by ccn (Vicar) on Jul 12, 2004 at 13:00 UTC
Re: Change Text Box Color
by bibo (Pilgrim) on Jul 12, 2004 at 13:02 UTC
    ViceRaid++

    Here's a reference source that you would have found googling... at the source which is what you probably should have done.

    good luck, --bibo

Re: Change Text Box Color
by magawr (Initiate) on Jul 12, 2004 at 12:59 UTC
    print "<Body bgcolor=\"#ffffff\" >"
      N.B. The ffffff refers to code for actual hue ffffff = black I don't recommend it as a background color.

        Uh, ffffff (or fff) is white. 000000 (or 000) is black.

        Although in your case, you should probably use the actual color name bgcolor=white, as the numbers, well, they can be tricky, can't they?