Text-decoration none designing a button


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;


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?

link is used to describe this html element:


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.


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.


Got the same problem… Thanks for your help!


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