David Hucklesby wrote:
Is there any way to get IE to understand "focus"?

Hi David,

have you tried:

.whatever {
    background: #808080;
}
.whatever:focus, .whateverfocus {
    background: #eaeaea;
}


.whatever {
    behavior: expression(
        this.onfocus = function() { this.className += ' whateverfocus'; },
        this.onblur = function() { this.className =
this.className.replace('whateverfocus', ''); });
}


I haven't tested that - let us know, if this works!

Regards, Klaus

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to