CSS styles : Form problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ivan Sutton

    CSS styles : Form problem

    Dear all,

    I created a form with textfields, radiobuttons,.. .

    I can change the bgcolor, however when I change the bgcolor in the input tag:

    INPUT {
    background-color: #DFDFBF;
    color: #003333;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 8pt
    }

    3 "fields" change from color at one time:
    textfield, radiobutton and send-button...
    Does CSS allow to only specify the bgcolor of a single line textfield?
    And if yes could you also tell me how?

    Any help is greatly appreciated.

    Ivan
  • David Dorward

    #2
    Re: CSS styles : Form problem

    Ivan Sutton wrote:
    [color=blue]
    > Does CSS allow to only specify the bgcolor of a single line textfield?
    > And if yes could you also tell me how?[/color]

    input[type=text] { }

    Modern browsers support it.

    Internet Explorer isn't a modern browser.

    If you want it to work in MSIE you have to resort to classes (or JavaScript)

    --
    David Dorward http://dorward.me.uk/

    Comment

    Working...