[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"
<http://www.w3.org/TR/becss>
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"
<http://www.w3.org/TR/css3-multicol/>)
--
Cheers,

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