This forum is now read-only. Please use our new forums! Go to forums
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;
}
Answer 5525599651b887c5670001c9
Answer 55256ae186f552025e000521
Answer 55256b669113cb46b400053c
Answer 55256c16937676b2e3000505
Answer 5526abf493767614f700000e
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…
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
10 comments
I need you to format your code so I can see it: https://help.github.com/articles/markdown-basics/#code-formatting
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 your
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
First, change
border-width
for the image towidth
. Then, the border color should be this:#4682b4
, not this:#46482b4
. Your code should work now :)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.
Try refreshing the page, clearing cache/trying in incognito/private mode, & switching browsers.
Thank you very much! I cleared the cache and it worked properly. Finicky.. :)
Great! Sorry it was so hard to pass :)
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. :)