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

CSS: An Overview Forum

View Course » View Exercise

159 points
4212bb64d47a6a3edc5ee24a08aa695b?s=140&d=retro
Submitted by
floridaboy
almost 3 years ago

25/26 what am i doing wrong?!?

I have tried every way that i can think of and still cant get it!

my css:

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;

}


3 votes

permalink

I had the same thing today but solved it by setting zoom on my Chrome browser to 100% (was on 125% previously).

With zoom <> 100% it failed with error, "Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?". With zoom at 100% worked fine.

Note: that's mentioned on the final line of the exercise hint but it's not a particularly clear hint.

418 points
862c0e65733eca0bc8b36add3f7d06a1?s=140&d=retro
Submitted by
dazzany
almost 3 years ago


1 vote

permalink

Your code works on my computer must be your browser.

464 points
D12630a68b0ccb4152b293ddfdaaf3cc?s=140&d=retro
Submitted by
manczkin
almost 3 years ago


0 votes

permalink

I ran into the same problem about a month ago, and never got a reply.

308 points
545c392b9c4e9dcde60002f2_791319507
Submitted by
Tonda
almost 3 years ago


0 votes

permalink

Here's what I did. I switched the browser from Firefox to IE. It worked for me!

1251 points
0c191f1982077656f79443a1031f0495?s=140&d=retro
Submitted by
cotamor
almost 3 years ago


0 votes

permalink

I had the same thing now but solved it by setting zoom on my Chrome browser to 100% (was on 125% previously).

298 points
5495e85276b8fe3b8e003d0e_394317939
Submitted by
Mohamed Mahmoud Arafa
almost 3 years ago


0 votes

permalink

just work for me has to write like this

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

197 points
E208fcea798057eba7712674ac6b0933?s=140&d=retro
Submitted by
beau45
almost 3 years ago


0 votes

permalink

I'm having the same issue. I know its correct but it wont let me move on

Warning:
Oops, try again. Did you remember to set your link's text-decoration to none;?

h1 {
font-family: Verdana, sans-serif;
color: #576D94;
text-decoration: none;

}
p {
font-family: Garamond, serif;
font-size: 18px;
color: #4A4943;
}
img src {
height: 100px;
width: 300px;
border-color: #4682b4;
}

1153 points
55012641e39efe413300215b_278863659
Submitted by
Shaylee Wheatley Hansen
almost 3 years ago


0 votes

permalink

Yeah, it's giving me the same grief about the border, when, in fact, I did, it looks good, I know it's correct, my zoom is at 100% on Chrome, and I've reset it and retyped everything multiple times. Sometimes, I think this website has a faulty system of determining whether an answer is correct or not.

812 points
F0be9ee3487dbfb58ba68717b456ff06?s=140&d=retro
Submitted by
Smeagul
over 2 years ago