SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Resident Boozehound simontheak's Avatar
    Join Date
    Jun 2003
    Location
    _root.europe.uk.london
    Posts
    965
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Colouring form fields and buttons

    Can anyone give me a quick rundown (or a link to an article) to explain how to colour text fields and submit buttons?

    Thanks so much!

  2. #2
    SitePoint Enthusiast TheEngine's Avatar
    Join Date
    Sep 2003
    Location
    Sunnyvale Trailer Park
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was also wondering how to do that once. I just found a discussion about this subject here that may help out.
    _______________________________________________________
    Graphic Engine Design

  3. #3
    Skills to Pay the Bills Sparkie's Avatar
    Join Date
    Jul 1999
    Location
    A cave with 47 computers and an internet feed
    Posts
    3,559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here are some samples:

    Single line text boxes
    Code:
    <input type=text name="something" value="" style="background-color: #hex color value">
    Multiple line text boxes
    Code:
    <textarea name="something" rows=5 cols=50 style="background-color: #hex color value"></textarea>
    Submit button
    Code:
    <input type=submit value="Send" style="background-color: #hex color value; color: #font color value; font-weight: bold" name="Submit Button" border="0">
    for "hex color value" put the hexidecimal code for the color you want. on the submit button, font color value is the hexidecimal code for what color you want the font to be on the submit button.

    Hope this helps!
    Sherice Jacob - Web Improvement Expert
    Improve Website Conversions | eBook Covers
    Follow Me on Twitter!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •