Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Change Text Box Color

by diggernz (Sexton)
on Jul 12, 2004 at 12:11 UTC ( #373581=perlquestion: print w/replies, xml ) Need Help??

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">


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

    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?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://373581]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2022-06-25 14:28 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (83 votes). Check out past polls.