neat trick to get table hovers highlighted in IE
-
You may notice that the table row highlighting doesn’t work in IE (at least in IE 6.0 which many people use)
I found this easy, drop-in solution to use IE’s HTC support
http://www.xs4all.nl/~peterned/csshover.html
save this file into your template folder
http://www.xs4all.nl/~peterned/htc/csshover.htc
then add this to your stylesheet
body {behavior:url("/path-to-your-template/csshover.htc");}
optionally but recommended, you might also want to add this to your .htaccess in apache since it probably won’t serve the right mime type for HTC by default which breaks XP sp2
AddType text/x-component .htc
Now :hover can work on almost anything in IE just like real CSS browsers.
- You must be logged in to reply to this topic.