CSS a: link does not work

I'm trying to control the appearance of links through CSS, attached to the page, and I'm not having any luck. I created 2 models, 1 for one: link and the other for a: hover. a: hover works as expected, but one: link does not work. I am trying to create a link without notes and black for the color. When you hover over the link it must become white and also without underscores. What I get is a link that is blue with an underline and when you switch on it to become white and loses underscore. It seems simple enough. What could I do it wrong?

Here is the code for the CSS:

< style type = "text/css" >
<!--
a: hover {}
color: #FFFFFF;
text-decoration: none;
}
a: link {}
Color: #000000;
text-decoration: none;
}

->
< / style >

Thank you all for your suggestions! They made me think quite for it is resolved by using the 'a' style (anchor) CSS (instead of a: link) along with one: hover style and it works exactly as I want only it. Here's what it looks like:

Thanks again!

Tags: Dreamweaver

Similar Questions

Maybe you are looking for