View Full Version : Icky Ugly Links


DeltaDawn
03-28-2006, 10:45 PM
:confused: This is my link code:
<style type="text/css">

A:link
{ text-decoration: none; color:#FFC4E1; }
A:visited
{ text-decoration: none; color:#FFC4E1; }
A:active
{ text-decoration: none; color:#FFC4E1; }
A:hover
{ text-decoration: none; color:#ffffff;

background-image: none;
background-color: #000000;

cursor: crosshair;}


Why on earth is it making the ugly ugly UGLY blue links with an underline? Oh..and it only does it for the regular link, once it's a visited link, it's okay.

_zr_
03-28-2006, 11:04 PM
I'm not positive that this is your problem, but it might fix it.

<style type="text/css">

A:link
{ text-decoration: none; color:#FFC4E1; }
A:visited
{ text-decoration: none; color:#FFC4E1; }
A:active
{ text-decoration: none; color:#FFC4E1; }
A:hover
{ text-decoration: none; color:#ffffff; }

body
{background-image: none;
background-color: #000000;}

The bold red areas are things you missed in the code. Also, since the link and visited and active are all the same you could try doing:

a:visited, a:active, a:link
{ text-decoration: none; color:#FFC4E1; }

I think I did that right. If not; someone correct me.
I hope this helps.

DeltaDawn
03-28-2006, 11:33 PM
it didn't fix it :(

_zr_
03-28-2006, 11:53 PM
Could I have to link to the page this code is for?

DeltaDawn
03-29-2006, 12:00 AM
http://www.amynikkeia.fantasy-nerd.com/main.php

_zr_
03-29-2006, 12:05 AM
{background-image: none;
background-color: #000000;}

You don't really need that bit since you've got all that set further down.

Also, since the stylesheet is external you can take out all the <style type="..."> and </style> bits.

I don't see anything else wrong with the code, honestly. I've no idea why it isn't working for you :(

DeltaDawn
03-29-2006, 12:19 AM
Thanks..I think it worked! :)