This forum is now read-only. Please use our new forums! Go to forums
CSS:overview 25/26 ; Oops, try again! It looks like your image is 19px high instead of 100px high.
I keep getting this error even though my code on the stylesheet is correct. I am using firefox and rewrote the code several times but keep receiving this error.
h1 { font-family:Verdana, sans-serif; color:#576d94 }
p {
font-family:Garamond, serif;
font-size:18px;
color:#4a4943;
}
img{ height: 100px; width: 300px; border: 1px solid #4682b4; }
Answer 5288e89cabf8215d1d009703
Have you tried hitting cmd/ctrl + 0 on your keyboard? The only other thing I can recommend is adding the semicolon at the end of the 3rd line.
Answer 528e89d080ff331c4d0001e0
What i did so that i can get passed the lesson was style in what it wanted on the html file. I knew my css file was correct and I tried on different browsers like I had seen some people suggest on other issues that were similar but couldn’t get it to work thats when i put it in my html it worked good. First i removed img{ height: 100px; width: 300px; border: 1px solid #4682b4; } from my stylesheet and input this into my index.html
<img style= “border:1px solid #4682b4;height:100px; width:300px;” img src=”http://bit.ly/NnVbxt“
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
2 comments
<img style= “border:1px solid #4682b4;height:100px; width:300px;” img src=”http://bit.ly/NnVbxt“
problem solved thank you for the solution