Skip to:
Content
Pages
Categories
Search
Top
Bottom

neat trick to get table hovers highlighted in IE


  • _ck_
    Participant

    @_ck_

    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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar