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

CSS: An Overview Forum

View Course

240 points
D4874a607ce429fa5d4436210133bf14?s=140&d=retro
Submitted by
Ronald Walls
almost 3 years ago

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;
}


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.

243 points
61e0c9efdac23b13a63a74a40ab65b57?s=140&d=retro
Submitted by
Daniel Dreval
almost 3 years ago


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

103 points
8ce4520c03c7e0bcd87f06014e81d980?s=140&d=retro
Submitted by
betinV
almost 3 years ago

2 Comments

8ce4520c03c7e0bcd87f06014e81d980?s=140&d=retro betinV almost 3 years ago

83171a7cdcae4a1e477794eae3b716ab?s=140&d=retro Lyle over 2 years ago

problem solved thank you for the solution