Can't get with this


#1

When I code:
div {
border-radius: 5px;
margin: auto;
text-align: center;
text-decoration: none;
color: #781244;
font-family: Courier;
}

The following comes:
Oops, try again. Did you remember to set your link's text-decoration to none;?

Please help me to get out of this problem...


#2

Well, I got the answer. I had to put 'a' instead of 'div'.
tnx for watching.


#3

I hope you didn't change div to a? Most of the propertys should be at div, you where suppose to create a new css selector (a) and just assign a few propertys + values to it


#4

To expand on this you could of simply completed it by doing this:

div a {
    text-decoration: none;
    color: #781244;
    font-family: Courier; 
}

Then you could of left the other properties inside the div tag.