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

CSS: An Overview Forum

View Course » View Exercise

719 points
Af02efe80753c727b0a507e62df1c4b3?s=140&d=retro
Submitted by
Warhawk81
about 2 years ago

25/26???

h1 {
font-family: Verdana, Sans-serif;
color: #576D94;
}
p {

font-size: 18px;
color: #4A4943;
font-family:Garamond, Serif;
}
img }

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

I'm using Goolgle Chrome, set the zoom to 100% I'm still getting the border error. Please help.


1 vote

permalink

Try to set the zoom of your browser to 80% (ctrl and -). That worked for me (Firefox).

477 points
544d0f5252f8632cc5000036_269345126
Submitted by
Maria
about 2 years ago


1 vote

permalink

your current code...
img }

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

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

125 points
5bcebc3863e5250694b2696e4bb6e38a?s=140&d=retro
Submitted by
Keri Tegtmeier
about 2 years ago

1 Comment

B05f57a6d3c3f4e5fd669356c6edd3ca?s=140&d=retro jiahui sun about 2 years ago

right


1 vote

permalink

For anyone having issues with 3/6 even if you are sure your code is correct

I was getting an error asking me to make sure I put the border in. The border was in the code like this:

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

Figured this out because I figured out another issue later on:

https://www.codecademy.com/forum_questions/55aed379937676aacc00055d

Apparently some of these properties have to be the first slot when putting a code together. Again, not sure if this is true in the real world, but it is proving true on at least two exercises here.

Your code should read this:

img {

border:1px #4682b4;
height:100px;
width:300px;

}

This will solve the problem for you.

272 points
55c7ef0b9113cb1cc40005fa_23090541
Submitted by
lol2dubs
about 2 years ago


1 vote

permalink

Hey guys to fix this error use this:

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

535 points
D26d43b16c917377797f9feabe5f6bba?s=140&d=retro
Submitted by
Jeroen Sangers
about 2 years ago


0 votes

permalink

i had this problem too on google chrome, try resetting your zoom to default. just ctrl+ or ctrl-
until the little zoom bubble in the upper right pops up and click on the "reset to default" button, then try submitting again. it worked for me.

118 points
55c7d4aee39efe8c9e00031d_485335816
Submitted by
Abby
about 2 years ago


0 votes

permalink

Tried all these solutions. No luck.

Still getting the border error.

272 points
55c7ef0b9113cb1cc40005fa_23090541
Submitted by
lol2dubs
about 2 years ago


0 votes

permalink

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

Guys ,nothing happens :( Why is this so broken?

206 points
E0383484df50ff8414c7c038cf5d197d?s=140&d=retro
Submitted by
Ioan Varadinov
about 2 years ago


0 votes

permalink

you forgot your LINK code in the html header to tell it to read the stylesheet

282 points
55f799fe9113cbc0bb000107_885250035
Submitted by
JasonUr
almost 2 years ago