csshover.htc Not Working in IE 6: Server Config Issues

If you use CSS dropdown menus, you probably know you need to use a hack to make the drop down work in Internet Explorer 6 (IE6). A briliant hack was created by Peter Nederlof (you can download it at http://www.xs4all.nl/~peterned). I have used it successfully for a couple years, but when I loaded a website onto a new host, the css dropdown menus didn’t work.

For the most part, the csshover.htc hack works, but it’s fussy about the file path you put into you css file; to simplify, the path need to be an absolute path; eg, from the root of your web server; do not make it relative to the css file. Below is the code you need to add to the bodytag in your main .css file

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