Sunday, 18 April 2010

IE6 and CSS ":hover" pseudo-class

In my last post I've forgot about one important thing - IE6 doesn't support CSS ":hover" pseudo-class for "span" elements (actually, it supports it only for "a" - anchor elements).

There are some solutions for this problem and you can find it easily with search engines. I prefer using IE conditional comments in which one can include what ever is specific for IE. In this case, ":hover" pseudo-class functionality can be achived with JavaScript using "onmouseover" and "onmouseout" events. I won't show you how to do that, instead of that, I'll hopefully write a plugin for new and promising JavaScript library called "My Library".

Stay tuned ...

No comments:

Post a comment