Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q717

Feedback on: irt.org FAQ Knowledge Base Q717

Sent by Bill Wilkinson on November 08, 1999 at 18:05:39: - feedback #575

Length:
Too short

Technical:
Not technical enough

Comments:
See my just submitted additions to JavaScript Q30.

You *can* change the color in a form field with MSIE 4.x and above by using a STYLE in the same manner you would do so to a text item in Netscape:

<STYLE>ALL.DEMO { color:white; background:black; }</STYLE>
...
<FORM ...>
<INPUT CLASS=DEMO Name=Any Value=Something>
...

This gives you a "reverse video" form field which is wonderful for some purposes!






Sent by James Noe on April 26, 2000 at 09:30:12: - feedback #1143

Worth:
Not worth reading

Comments:
I've found a way of solving this.

If you have an external stylesheet and a style defined for input, and another class (say input2) then you can have a JavaScript function that does:

function changeFormat(fld)
{
fld.className = "input2";
}

Kindest regards,

James


Sent by Lukas on February 15, 2001 at 09:06:43: - feedback #2374

Worth:
Worth reading

Length:
Too short

Technical:
Not technical enough

Comments:
<input style="COLOR: brown">


©2018 Martin Webb