The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I'd rather not, Paul. It doesn't do any good for :focus and :active states, whereas the .htc file takes care of those as well.

HTC files are ok but they are a little more trouble than they are worth in my mind. They are also a bit slow and if you have large stylesheets it can be a problem. Also the htc is about 50 lines of code and the routine I posted is about 7 lines

Also the fact that a lot of general users users may not have access to their htc files anyway.

Anyway you can add active and focus states to the routine if you want as after all the behaviour is just a javascript file anyway.

I'm still very much interested in your explination of how to use an htc file to help with this issue. The main reason why I don't want to use javascript is because this css class is already used across a very large site and I'd much rather edit/tweak/hack the css than go and edit every single page that referrences the rollover class.