Hi,
<style type="text/css">
input {background-color:#fff onFocus="this.style.backgroundColor: #E1F2FD" onBlur="this.style.backgroundColor:#fff"}
Eventhandler gehören ins HTML, nicht ins CSS.
Es geht aber auch mit CSS (wie weit das die Browser unterstützen, darfst Du selbst erforschen):
input { background-color:#fff; }
input:focus { background-color:#e1f2fd; }
cu,
Andreas
--
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/