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

banner
Close banner
0 points
Submitted by brucekawanami
over 8 years

Step 5 of 6 - Does not see my CSS code for Text-Decoration

On Step 5 of 6, I continue to get the error, “Oops, try again. Did you remember to set your link’s text-decoration to none;?” My enclosed CSS file does have the text-decoration:none; between the

tags. I typically use Chrome but got the same results using Firefox and MS Edge. Appreciate any help! Thanks, Bruce

Here is my CSS code: img { display: block; height: 100px; width: 300px; margin: auto; }

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

/Start adding your CSS below!/ div { border-radius: 5px; border: 2px dashed #6495ED; background-color: #BCD2EE; height: 50px; width: 120px; margin: auto; text-align: center; text-decoration: none; }

span { font-family: Cursive; font-size: 18px; color: pink; }

Answer 55f3d2f4937676f8d00005c6

2 votes

Permalink

your links text decoration shout have a selector “a” it should not be in with the “div” selector

points
Submitted by JasonUr
over 8 years

Answer 55e65accd3292f1a37000466

0 votes

Permalink

The instruction: Set your link’s text-decoration to none. Give it whatever color or font-family you like!

A link-tag is the HTML a-tag.

a {
}

++ general search Did you try… http://www.codecademy.com/guidance/choose

google search == the Book == jquery [your question] site:developer.mozilla.org CSS [your question] site:developer.mozilla.org javascript [your question] site:developer.mozilla.org [your question] site:jquery.com [your question] site:getbootstrap.com

== discussions / opinions == jquery [your question] site:stackoverflow.com CSS [your question] site:stackoverflow.com javascript [your question] site:stackoverflow.com

== guidance == www.crockford.com [your question] site:crockford.com

http://stackoverflow.com/questions/1795438/load-and-execution-sequence-of-a-web-page https://learn.jquery.com/events/event-delegation/ event- bubbling or Capturing event bubble-up or trickle-down http://stackoverflow.com/questions/4616694/what-is-event-bubbling-and-capturing https://www.codecademy.com/articles/http-errors-404 https://www.codecademy.com/articles

https://developer.mozilla.org/en-US/Learn/HTML/HTML_tags https://developer.mozilla.org/en-US/docs/Web/CSS/Reference https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes http://www.w3schools.com/jquery/jquery_ref_selectors.asp

points
Submitted by Leon
over 8 years