Forum Moderators: not2easy

Message Too Old, No Replies

.htc for IE hovers

A call that validates?

         

D_Blackwell

8:38 pm on Jun 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Errors
Line: 87 Context : body
Property behavior doesn't exist : url(hover.htc)

Can I call this file in another way; one that will let me validate the CSS as well? From a <link> perhaps?

DrDoc

9:51 pm on Jun 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can always hide it inside conditional comments:

<!--[if IE]>
<style type="text/css">
...
</style>
<![endif]-->

ktwilight

2:37 am on Jun 30, 2004 (gmt 0)

10+ Year Member



i think the hover.htc file is a jscript. best is to link as external stylesheet.

not sure though, i didn't bother about that bit being validated. since i know it doesn't cause any problems with other browsers. ;)

Rambo Tribble

4:13 am on Jun 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



More on conditional comments:
[msdn.microsoft.com...]
(a, presumably, authoritative URL)