Text-decoration none designing a button


#1

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

div {
height: 50px;
width: 120px;
border-color: #6495ED;
background color: #BCD2EE;
border-radius: 5px;
margin: auto;
text-align: center;
text-decoration: none;
}

l{
text-decoration:none;
font-family:arial;
}

i tried doing all this yet its still saying "Oops, try again. Did you remember to set your link's text-decoration to none;?" what am i doing wrong so that way i can move on?!!!!!!!!!!!!!!!!!!!

-Confused and Frustrated.


On CSS how do you set a link text-decoration to none - this is how i did but it not work, any help?
#2

link is used to describe this html element:

<a></a>

which has a css selector a, so:

a {
  property: value;
}

i don't see anywhere you set your links text-decoration to none, you set your divs text-decoration to none. property and value are just placeholder words.


#3

i got the same problem with the thread starter, and saw your post thanks. i thought since is under

, thus i used
in css.

anyway thanks, problem solved.


#4

Got the same problem... Thanks for your help!


#5

A post was split to a new topic: Text-decoration - designing a button