Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Change Text Box Color

by diggernz (Sexton)
on Jul 12, 2004 at 12:11 UTC ( [id://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">

    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?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found