Background colour for form fields?

Discussion in 'HTML' started by FatBlokeOnBikepins@pinsmother-truckers.co.uk, Jun 23, 2003.

  1. Guest

    ..
    Is there a way to control the background colour of input fields?

    TIA.
     
    , Jun 23, 2003
    #1
    1. Advertising

  2. David Dorward, Jun 23, 2003
    #2
    1. Advertising

  3. schrieb:
    >
    > .
    > Is there a way to control the background colour of input fields?


    Sure. Use this simple example to make filling in forms on your website a
    much more "exciting" "experience" for your users:

    put this in the HEAD of the document:
    <style type="text/css">
    input.ohboy {
    color:lime;
    background-color:eek:range;
    border:none;
    font-size:9px;
    font-family:"Times New Roman", serif;
    }
    </style>


    In the FORM:
    <p>Input here: <input type="text" class="ohboy" value="Fill 'er up!"
    /></p>



    Matthias
     
    Matthias Gutfeldt, Jun 23, 2003
    #3
  4. Guest

    >> Is there a way to control the background colour of input fields?
    >
    >Sure. Use this simple example to make filling in forms on your website a
    >much more "exciting" "experience" for your users:
    >
    >put this in the HEAD of the document:
    ><style type="text/css">
    >input.ohboy {
    > color:lime;
    > background-color:eek:range;
    > border:none;
    > font-size:9px;
    > font-family:"Times New Roman", serif;
    >}
    ></style>
    >
    >
    >In the FORM:
    ><p>Input here: <input type="text" class="ohboy" value="Fill 'er up!"
    >/></p>

    How to win friends and influence visitors.....

    Thanx all.
     
    , Jun 24, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Doe

    Set the background colour of a grid

    John Doe, Oct 21, 2003, in forum: ASP .Net
    Replies:
    7
    Views:
    381
    Alvin Bruney
    Oct 22, 2003
  2. JezB
    Replies:
    9
    Views:
    375
    Curt_C [MVP]
    Apr 30, 2004
  3. Derek Johnson

    form text field background colour

    Derek Johnson, Sep 21, 2003, in forum: HTML
    Replies:
    6
    Views:
    35,326
    Kae Verens
    Sep 22, 2003
  4. Dj Frenzy
    Replies:
    3
    Views:
    350
    Robert
    Feb 10, 2004
  5. jodleren
    Replies:
    2
    Views:
    216
    Thomas 'PointedEars' Lahn
    Jan 12, 2008
Loading...

Share This Page