roxygurlie
07-22-2003, 09:56 PM
Everything shows up how I want it to with this link but then when I press on it something comes up saying that the page doesn't exist or can't be found! I know its something wrong with my link code because if I just view the site my self or with a normal link code the page comes out prefectly..PLEASE HELP!!!!!!!!!
here is the code I am using
<STYLE type="text/css">
<!--
A:link {color:yellow};}
A:visited {color:orange;}
A:active {color:purple;}
A:hover{color:red;
background-color:orange;}
}
-->
</STYLE>
<a href=http://www.angelfire.com/rock3/rshoo619/Class><font size=2><s>Poetry Classes</s></a>
kittycat
07-22-2003, 10:07 PM
A:link {color:yellow};} should be A:link {color:yellow;}
You should have your link in quotation marks, eg <a href="link">. Other than that, nothing looks wrong with your code. Double check the spelling of the link to make sure that's not causing a problem.
burningstars
07-23-2003, 02:43 PM
Also put the ; outside of the { } like this:
A:link {color:yellow};
A:visited {color:orange};
A:active {color:purple};
A:hover{color:red;
background-color:orange};
}
Dude128
07-23-2003, 02:54 PM
Originally posted by burningstars
Also put the ; outside of the { }
nope. you shouldn't have a semi-colon outside the braces. having them may actually cause your CSS to not work properly.
there is another extra bracket at the ending too. and the ending font tag was missing.
to avoid confusion, here is the corrected coding of the sample given...
<style type="text/css">
<!--
a:link {color:yellow;}
a:visited {color:orange;}
a:active {color:purple;}
a:hover{color:red; background-color:orange;}
-->
</style>
<a href="http://www.angelfire.com/rock3/rshoo619/Class"><font size="2"><s>Poetry Classes</s></font></a>
css can also be used to create the font size and strikethrough line if you like. try adding this to your css area...
a {font-size:5pt; text-decoration:line-through;}
and set the 5 to a different number to match your desired size.
roxygurlie
07-23-2003, 04:11 PM
Thanks for all your help!!! I finally got figured out what was wrong :)