|
||||||||||||||||||||||||||||||
. |
|
Home The More Zone Here Noteworthy CSS effects for NS6+/Mozilla 0.92 forms Netscape 6 may not be catching on yet, but when it comes to support for CSS, it's sure has caught up with IE. Tuxracer (a Dynamic Drive surfer) demonstrates this by showing several interesting CSS effects for forms, applicable in NS6+ and Mozilla 0.92+ only. Eat your hearts out IE users (hay, that includes us)! -Puesdo class form:focus Case 1: Use the CSS2 puedo class :focus to dynamically color the form element currently in focus: Source: <style type="text/css"> input:focus { background-color: #FFFF99 } textarea:focus { background-color: #FFFF99 } </style> Demo: Click on the various form elements:
Recommend Us! Legend Copyright © 1998-2004 Dynamic Drive. Please read Terms Of Use here before using any of the scripts. Partners: JavaScript Tutorials | JavaScript Reference |