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

banner
Close banner
0 points
Submitted by Ronald Walls
over 10 years

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

1 vote

Permalink

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.

points
Submitted by Daniel Dreval
over 10 years

Answer 528e89d080ff331c4d0001e0

0 votes

Permalink

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

points
Submitted by betinV
over 10 years

2 comments

betinV over 10 years

<img style= “border:1px solid #4682b4;height:100px; width:300px;” img src=”http://bit.ly/NnVbxt

Lyle about 10 years

problem solved thank you for the solution