uli: Formular CSS/ JS Syntax

Beitrag lesen

Hi,

kann mit bitte bitte jemand helfen, wie der korrekte Syntax aussieht?
So geht es nicht:

<style type="text/css">
<!--

input  {background-color:#fff onFocus="this.style.backgroundColor: #E1F2FD" onBlur="this.style.backgroundColor:#fff"}

select {background-color:#fff onFocus="this.style.backgroundColor: #E1F2FD" onBlur="this.style.backgroundColor:#fff"}

textarea  {background-color:#fff onFocus="this.style.backgroundColor: #E1F2FD" onBlur="this.style.backgroundColor:#fff"}
-->

Ich danke schon mal SEHR!

Tschüß

uli