This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

176 points
28ae1eda25e2187951e5269d219c66c5?s=140&d=retro
Submitted by
kimmers68
over 2 years ago

Did you remember to set your link's text-decoration to none;?

This is what I have in my css but it keeps asking me if I set the link's text-decoration to none! I have followed everything as I remember. ??

h1 {
font-family: Verdana, sans-serif;
color: #576D94;
}
p {
font-size: 18px;
color: #4A4943;
font-family: Garamond, serif;

}
img { border:1px solid #4682b4;
}
img {
height: 100px;
border-width: 300px;
}
a {
text-decoration: none;
Color: #cc0000;
}


0 votes

permalink

Hi kimmers68,

Which exercise are you on?

2818 points
5674c6dae39efec455000434_879409444
Submitted by
Zeke Y
over 2 years ago


0 votes

permalink

Hi Zeke,

I am on "Many Selectors, many properties" lesson number 23 of 26.

176 points
28ae1eda25e2187951e5269d219c66c5?s=140&d=retro
Submitted by
kimmers68
over 2 years ago


0 votes

permalink

Sorry, lesson number 23 also gives me an issue, but the one I actually posted is # 25 of 26.

176 points
28ae1eda25e2187951e5269d219c66c5?s=140&d=retro
Submitted by
kimmers68
over 2 years ago


0 votes

permalink

This is the html sheet ---

<!DOCTYPE html>



Result


Using Code on My Own!
Maybe this is what it needed.
Watch it come together with me
Tell me what you think it needs


And this is the css stylesheet side....

h1 {
font-family: Verdana, Sans-serif;
color: #576D94;
}
p {
font-size: 18px;
color: #4A4943;
font-family: Garamond, Serif;

}
img {
border-width: 300px;
height: 100px;
border: 1px solid #46482b4;
}

176 points
28ae1eda25e2187951e5269d219c66c5?s=140&d=retro
Submitted by
kimmers68
over 2 years ago

10 Comments

5674c6dae39efec455000434_879409444 Zeke Y over 2 years ago

I need you to format your code so I can see it: https://help.github.com/articles/markdown-basics/#code-formatting

28ae1eda25e2187951e5269d219c66c5?s=140&d=retro kimmers68 over 2 years ago

<!DOCTYPE html>



Result


Using Code on My Own!
Maybe this is what it needed.
Watch it come together with me
Tell me what you think it needs


5674c6dae39efec455000434_879409444 Zeke Y over 2 years ago

That's not properly formatted, but I'll see what I can do. This: <link><type="text/css" rel="stylesheet" href="stylesheet.css"> needs to be: . Then, you need to close yourbefore, not after, the`.

28ae1eda25e2187951e5269d219c66c5?s=140&d=retro kimmers68 over 2 years ago

I re did the code in the css and it now shows the colored border around "CodeAcademy" in the results area, however, I still get the the message asking if I remembered to give the image the border 1px solid #4682b4

5674c6dae39efec455000434_879409444 Zeke Y over 2 years ago

First, change border-width for the image to width. Then, the border color should be this: #4682b4, not this: #46482b4. Your code should work now :)

28ae1eda25e2187951e5269d219c66c5?s=140&d=retro kimmers68 over 2 years ago

I had recognized the error with the color number code and had corrected that.. .I changed the 'border-width' to just 'width' again --- the 'results' show properly, however I am still getting the same error about the border.

5674c6dae39efec455000434_879409444 Zeke Y over 2 years ago

Try refreshing the page, clearing cache/trying in incognito/private mode, & switching browsers.

28ae1eda25e2187951e5269d219c66c5?s=140&d=retro kimmers68 over 2 years ago

Thank you very much! I cleared the cache and it worked properly. Finicky.. :)

5674c6dae39efec455000434_879409444 Zeke Y over 2 years ago

Great! Sorry it was so hard to pass :)

28ae1eda25e2187951e5269d219c66c5?s=140&d=retro kimmers68 over 2 years ago

No worries--- good experience in the end... if it happens again, it gives me some ideas to look for after double checking the code instead of playing /changing the code. :)


0 votes

permalink

Add an to your HTML document. Its src attribute can point anywhere! (Check the Hint if you're stuck or need a picture.)
On the CSS tab, set your image's height to 100px and width to 300px.
On the CSS tab, give your image a border of 1px solid #4682b4.

NOT REALLY SURE IF THAT IS WHAT YOU MEANT...

176 points
28ae1eda25e2187951e5269d219c66c5?s=140&d=retro
Submitted by
kimmers68
over 2 years ago