Is there a single element anchored in CSS that supports pseudo-style properties?
It should work on all elements, but IE6 only supports links. I've used anything: hover to get around this.
source to share
Modern browsers support pseudo-style properties for all elements, IE6 is the only current mainstream browser that doesn't (and that's only for the: hover property).
Unfortunately, until IE6 usage falls below minimum levels, you should avoid using the: hover property on non-anchored elements for better cross-browser support. Alternatively, you can provide IE6 support for it using javascript (with browser detection) or CSS expressions .
source to share
According to the CSS2 spec :
CSS does not define what elements can be in the above states [: hover,: active and: focus], or how states are entered and left.
In other words, don't depend on their work at all. I would use Javascript along with CSS to get a wider audience.
source to share
The PPK has a great browser link: http://www.quirksmode.org/css/contents.html#t16
It displays browsers that correctly support the: hover pseudo vector (and a bunch of other css selectors).
source to share
Yes, unfortunately anchor is the only tag that supports these styles.
I would recommend the following: Before coding any of your own JS, try using the JQuery framework, it can save a ton of effort.
Another crazy workaround would be to increase the size of the used style to 100% of the parent (cell), this way you effectively apply the style to the cell.
source to share