This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Scylla
almost 10 years

Text decoration is actually none but it isn't passing.

img { height:100px; width:300px; border:1px solid #4682b4; color:cc#0000; text-decoration:none; }

You see. It says text-decoration:none.

Answer 53773a68631fe95ea7001028

0 votes

Permalink

except the text-decoration: none; should be set at your link: a { text-decoration and color property here }

points
Submitted by stetim94
almost 10 years

Answer 537b8f3e548c35ddd70008e1

0 votes

Permalink

I’m having the same issues:

a { text-decoration: none; color: #cc0000; }

Oops, try again. Did you remember to set your link’s text-decoration to none;?

points
Submitted by Lynn Martineau
almost 10 years

4 comments

stetim94 almost 10 years

is there a link to your stylesheet in html? If yes, might be a glitch, try firefox, chrome, safari, internet explorer

stetim94 almost 10 years

also do you have a link to a website in your html file? the error’s are written by the creator of the course, and can be misleading. The error doesn’t have to be in this bit of css code

Lynn Martineau almost 10 years

yeah, it would help if I actually linked to the style sheet, wouldn’t it! smh

stetim94 almost 10 years

that was the error and it is fixed now?

Answer 5379340c282ae37a81004dae

-3 votes

Permalink

I have had exactly this same problem. My code seems to be what stetim has suggested but it does not work: a { text-decoration:none; color:#cc0000 }

That code generates the pop up message “did you remember to set the text decoration to none?”

points
Submitted by Bert
almost 10 years

1 comments

stetim94 almost 10 years

hm.. do you have an image in your html file? is the link to stylesheet present in your css file? possible it sends wrong data to server, the easiest fix would be to try a different browser (chrome and firefox are preferable)