LeBron 11 Blue White Nike KD VI gamma jordan 11
CodeAve.com CodeAve.com - CSS - Miscellaneous
ASP
JavaScript
CSS
·Basics
·Page Display
·Text Display
·Script Writers
·Contents
·What's New?
HTML
Maps
Links
Mail List
Search
Sitemap


 

  • Retro 3 jordans
  • Jordan 13 retro
  • Nike free 5.0

  • Form Colors
  • Nike free run 2 pink
  • Nike free 5.0 kids
  • Oakley sunglasses discount
  • One of the limitations of HTML is that you could make the greatest looking web page, but the moment you place a form on that page for user input, it looked just like every other page with holes cut out of it for user input. CSS offer many ways in which you can “dress up” your user input forms. The following example will show how to add colors to the basic form inputs, text, text area, the dropdown menu, check boxes and input buttons.
    View the Output
    Text View
    Print View
    Mail this Link
    Download the Code

    <html>
    <title>CodeAve.com - Form Colors</title>
    <body bgcolor="#FFFFFF">
    <center>
    <form name="CSS_Color_Example">

    <!-- Drop Down Menu Example -->
    <b>Drop Down Menu</b><br>
    <select name="selectname" SIZE="1">
    <option style="background-color:#FF0000;">
    Red background, no text color specified</option> 
    <option style="background-color:#00FF00; color: #FFFFFF;">
    Green background, White text</option> 
    <option style="background-color:#000000; color: #FFFF00;">
    Black background, Yellow text</option> 
    <option style="color: #FF0000;">
    No background color specified, Red text</option> 
    </select>

    <!-- Text Input Field Example -->
    <p>
    <b>Text Input Field</b>
    <br>
    <input type="text" size="40" style="background:#000000; color:#FFFFFF" 
    value="This text should be white with a black background">

    <!-- Textarea Input Field Example -->
    <p>
    <b>Textarea Input Field</b><br>
    <textarea rows="4" cols="34" style="background:#FF0000; color:#0000FF">
    This text should be blue with a red background</textarea>

    <!-- Radiobutton and Checkbox Example -->
    <p>
    <b>Radio Button and Check Box</b><br>
    (Technically there is no background to these,<br>
    but the surrounding area will accept background colors)<br>
    <input type="radio" style="background-color:#0000FF;">
    <input type="checkbox" style="background-color:#0000FF;">

    <!-- Button Example -->
    <p>
    <b>Button</b><br>
    <input type="submit" value="Green Button with Blue Text" 
    style="background:00FF00; color:#0000FF">

    </form>
    </center>
    </body>
    </html>

     

     

     



    ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
    Server Variables | Response Objects | Random Events | Miscellaneous
    HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
    JavaScript: Document Info | Forms | Images | Navigation | Script Writers
    CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

  • Air jordan 11 low
  • New Balance 996
  • Ray ban vintage sunglasses