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

0 points
Submitted by ctrimble
almost 10 years

text decoration: none; didn't work

Seems like the computer couldn’t see my text-decoration: none;

text-decoration: line-through; did work, but didn’t allow me to go on to the next lesson

Adding style=”text-decoration:none” to the tag worked and allowed me to go on.

Mysterious !

Answer 533c2087282ae36fc7000acd

5 votes

Permalink

I had the same problem until i took the text-decoration:none; line out of the div selector and put it into a selector for :

a { text-decoration: none; }

This worked a treat and I was able to progress.

points
Submitted by Tony Garston
almost 10 years

7 comments

pbhaz almost 10 years

That worked perfectly. Thanks, Tony!

Tony Garston almost 10 years

Gotta love this team work pb!

Manfred Von Richtoffen almost 10 years

way to go !!! thank you :)

Ruddi almost 10 years

Thanks Tony.

wzrdtrx almost 10 years

Thank you Tony, saved my life.

slstanzione almost 10 years

Thank you so much!! I was ready to pull my hair out

Miracle Xu almost 10 years

Thx!

Answer 5338b8439c4e9df8c900b523

1 vote

Permalink

Hi ctrimble,

I just had the same problem now.

Please check your html file. You’ll see it doesn’t have the css ref code. You must add it on your “index.html” tab between :

<link type="text/css" rel="stylesheet" href="stylesheet.css"/>

Cheers, Metin

points
Submitted by Metin
almost 10 years

5 comments

Travisse Hansen almost 10 years

What is the CSS ref code?

Metin almost 10 years

When you use CSS, your html file must contain a command for CSS codes. If you don’t have this reference in the

Manfred Von Richtoffen almost 10 years

that line of code is there. When I try to paste HTML code into the editor it renders it instead of showing the source code.

Manfred Von Richtoffen almost 10 years

this is my HTML code:

Metin almost 10 years

Hi Manfred, I think we had similar problems on different phases, so my explanation didn’t respond yours. Sorry.

Answer 5338d183631fe93f2000ccc9

0 votes

Permalink

We have same problem since yesterday, i can’t proceed to next lesson… I’m stuck at “Design a Button for Your Website”

  • 5/6 Adding the link

When I’m going to submit it, it gives me an error: “Oops, try again. Did you remember to set your link’s text-decoration to none;? “

But I have already added a code in CSS. Please advice!

INDEX.HTML

points
Submitted by Arnel T. Piquero
almost 10 years

2 comments

Arnel T. Piquero almost 10 years

i have solved this problem… i have not link my stylesheet.css into my html file…

Arnel T. Piquero almost 10 years

Answer 533a0fba548c3573530008c9

0 votes

Permalink

Hey everyone,

I am having the same issue. I am setting my text-decoration property to none, but I noticed that the preview is still showing the underline for the hyperlink and I can’t continue the lesson. Any updates? Thanks

points
Submitted by dgomez718
almost 10 years

2 comments

kasper1406 almost 10 years

you need to add: in the HTML tab

Arnel T. Piquero almost 10 years

add this in HTML TAB:

Answer 533b39ef80ff332f3000007d

0 votes

Permalink

Thanks everyone for previous replies. However, I believe my link is correct, and yet I am still seeing “Oops, try again. Did you remember to set your link’s text-decoration to none;?” Any advice on the below is greatly appreciated!

Here’s my HTML:

points
Submitted by pbhaz
almost 10 years

2 comments

Manfred Von Richtoffen almost 10 years

I have the same problem, I cannot continue with the lesson

Neil Tucker almost 10 years

text-decoration: none; needs to go in the stylesheet under a{ selector not in the div{ selector

Answer 5349de46631fe9be29003a89

0 votes

Permalink

thank you Neil Tucker - that worked!

points
almost 10 years