View Full Version : Link Transition Code


HPFanatic8
12-31-2003, 07:49 PM
I'm having trouble with a link transition on my css code. I want my links to have a fade affect to them so this is the code I'm using in css sheet:

Code:

A:link
{color:#9D7C62; text-decoration:none;cursor:"default"}
A:visited
{color:#9D7C62;text-decoration:none;font-weight:none}
A: active
{color:#9D7C62;cursor:default;height:1px;behavior: url"http://destined.org/dreamer/link.htc";filter:progid:dximagetransform.microsoft.fade}
A:hover
{color:#000000;text-decoration:none;background-color:none;font-weight:none;cursor:default;


Any ideas why it's not working? If you want it for reference, here's the page I'm using is at http://destined.org/dreamer/JohnnyDepp.htm. Thank you very much! :D

kittycat
12-31-2003, 08:23 PM
A { height:1px; behavior: url(http://destined.org/dreamer/link.htc); filter:progid:dximagetransform.microsoft.fade(dura tion=1); }
A:link
{ color:#9D7C62; text-decoration:none; cursor:default }
A:visited
{ color:#9D7C62; text-decoration:none; font-weight:none }
A:active
{ color:#9D7C62; cursor:default; }
A:hover
{color:#000000; text-decoration:none; background-color:none; font-weight:none; cursor:default; }

Try that for your code and see how it works. And I looked at that page, it doesn't seem to have the code on it anywhere...

HPFanatic8
12-31-2003, 08:41 PM
Nope. Still not working. And the code isn't on that page. The pages in the iframes have the code on their pages for the links. Thanks for trying anyway :) . I'm trying to figure what I did wrong...

Rosey
12-31-2003, 10:13 PM
when you mean the code is not on that page, what do you mean?

if i have link.htc on my desktop and use this:


A
{ cursor:default;height:1px;behavior:url(link.htc);f ilter:progid:dximagetransform.microsoft.fade(durat ion=1) }


A:link
{ color:#9D7C62; text-decoration:none; cursor:default }

A:visited
{ color:#9D7C62; text-decoration:none; font-weight:none }

A:hover
{color:#000000; text-decoration:none; background-color:none; font-weight:none; cursor:default; }

A:active
{ color:#9D7C62; cursor:default; }




it works....if i try to put that website link to link.htc, it doesn't work. It seems to be there but for some reason it's not working. Is that your site? You may just want to upload it in the folder you need it and use link.htc

MaGiCSuN
01-02-2004, 10:52 AM
take out the space between these words:

dximag etransform

the forum makes the spaces in it, but it should be one word. If it's not one word the code doesn't work.

Love,
Mirna