will work in firefox but in IE (tested on version 8) the className is never set, which was causing some problems with the elements styles.
One of the workarounds would be to explicitly add the class name, like this:
The problem with this approach is that at work, we have a huge javascript codebase, so instead, we are going to monkey patch Prototype. We’re working against version 1.6.0.3 of prototype, that’s why we add the alert, so when we update, we’ll catch this and check if it was fixed on core.