突出显示活动窗体字段

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了突出显示活动窗体字段相关的知识,希望对你有一定的参考价值。

Makes the form field background yellow and the border red when it is the active field. Works in most browsers except the usual lame ones (IE5.5 & 6).
  1. textarea:focus, input:focus {
  2. border: 1px solid #900;
  3. background-color: #FFFF9D;
  4. }

以上是关于突出显示活动窗体字段的主要内容,如果未能解决你的问题,请参考以下文章