[thelist] event handlers in a stylesheet?

Craig Saila crsaila at yahoo.ca
Tue Mar 12 12:45:00 CST 2002

Eric Engelmann wrote:
> Looking for an elegant way to do this:
> [input
> 	type="text"
> 	name="FirstName"
> 	value="something"
> 	size="3"
> 	style="border: none;"
> 	onclick="this.style.border='1px #cccccc
> solid';this.size=this.value.length+10;"
> ondeactivate="this.size=this.value.length;"
> ]
Definitely not even close to prime time, but the W3C has been thinking
about a way to do this for a few years.

The draft "Behavioral Extensions to CSS"
is one of the two I've been hoping to see become reality for a while.
(The other is closer to reality: "CSS3 module: Multi-column layout"

Craig Saila
craig at saila.com  :  http://www.saila.com/

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

More information about the thelist mailing list