Where to put csshover.htc in rails

I try to make a dropdown menu, it works fine in firefox, but not IE.

I found some CSS tutorials from Internet, and get an csshover.htc, which
works fine with static html page. However, I don’t know where to put it
and how to use it in my rails application.

Please help, any sample code or links will be greatly appreciated!

Thanks!

Put it anywhere under public/

I personally put it under public/stylesheets since you need to
reference it from your stylesheet.

Eden Li wrote:

Put it anywhere under public/

I personally put it under public/stylesheets since you need to
reference it from your stylesheet.

Thanks Eden!

I was putting in the same place, but it did not work for some other
reasons…

Now, it is working! :slight_smile:

I was having the same problems as those listed above.

Make sure that you specify the full path when including the csshover.htc
in your css file eg:

body {behavior:url("/stylesheets/csshover.htc");}

and then put your csshover.htc in that directory.

Thanks to roseanne for the help!