View Full Version : help, please??


xcherrykiss
02-02-2003, 01:08 AM
Alright.. this is about the pixellated hover link. I went through almost all of the other threads to see if that would help and it didn't. All I get is a big pink or blue box when I hover over the links.

Heres my code:

<style type="text/css">
<!-- a:hover {behavior:url(http://home.attbi.com/~kissmytearsaway/link.htc); color:cc3399; filter:
progid:dximagetransform.microsoft.pixelate (duration=1.0); height:0px; text-decoration:none} -->
</style>
<style type="text/css">
<!--
body {
cursor:help;
background-color: #ffffff;
background-image:url(http://www.webpost.net/mo/morphineseason/001.jpg);
background-repeat:repeat;
background-attachment:fixed;
background-position:center;
}
a:hover {
color:#095494;
text-decoration:none;
cursor:help;
}
a:link {
text-decoration: none;
cursor:help;
}
a:active {
color:#095494;
text-decoration: none;
cursor:help;
}
-->
</style>


Anyone know what's going on???

lefty
02-02-2003, 01:20 AM
http://www.lissaexplains.com/forum/showthread.php?s=&threadid=29083

xcherrykiss
02-02-2003, 01:26 AM
i saw that thread, and tried everything, even copy and pasting the things into my code.. still didn't work. :\

Dude128
02-02-2003, 01:40 AM
try combining your style sheets- you should only have one on a page

xcherrykiss
02-02-2003, 01:51 AM
Alrighty, I tried that too. It's still the same.

Dude128
02-02-2003, 01:58 AM
I didnt even notice this the first time... you also need to combine your a:hover { ... } sections. I believe the last one is always used, in which case your code is being ignored

lefty
02-02-2003, 02:01 AM
here's the code I wound up using:

<style type="text/css">
<!--
a{behavior:url(link.htc); color:black; filter: progid:dximagetransform.microsoft.pixelate (duration=1.0); height:0px; text-decoration:none}
A:link {text-decoration:none; color:666666; }
A:visited {text-decoration:none; color:666666; }
A:hover {text-decoration:none; color:000000; cursor:crosshair; }
body {
background-color:FFFFFF;
font-family:verdana;
font-size:9pt;
color:000000;
scrollbar-face-color:FFFFFF;
scrollbar-highlight-color:DDE9DD;
scrollbar-shadow-color:DDE9DD;
scrollbar-track-color:FFFFFF; }
-->
</style>


You have the .htc file as well, right? It won't work without it.