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

CSS: An Overview Forum

View Course » View Exercise

272 points
55c7ef0b9113cb1cc40005fa_23090541
Submitted by
lol2dubs
almost 2 years ago

**SOLVED**25/26 make sure to add border

For anyone having issues with 25/26 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.


1 vote

permalink

Nope, still doesn't work

363 points
55cd1cd3d3292f0be4000580_830339478
Submitted by
BWJohn
almost 2 years ago


1 vote

permalink

I don't know if your issue is the same but mine had to do with the Firefox Zoom. In Firefox hold down ctrl and hit the negative - key twice, then try to submit that works for me. The ctrl 0 didn't work for me.

197 points
56c15295854138a5ea00046f_239099223
Submitted by
Cherokee
almost 2 years ago

2 Comments

55cd1cd3d3292f0be4000580_830339478 BWJohn almost 2 years ago

I tried various zoom settings in both firefox and chrome but still can't get it to submit

55cd1cd3d3292f0be4000580_830339478 BWJohn almost 2 years ago

ctrl+0 did the trick in Chrome! Thank you to everyone who suggested doing that.


0 votes

permalink

It appears that both of these things can cause the problem. For me, I tried everything I could before I did the above.

I'm actually wondering if there aren't more problems across the site. It's an excellent spring board into HTML, but I've ran in to issues that cause frustrations.

I just completed the final course in HTML/CSS. It had me build a resume. I decided to make it all spiffy because I wanted to prove to myself what I could do. Long story short, I somehow got a stuck and was unable to move it at all (after trying everything under the sun) in the results window.

I ultimately gave up on making an awesome resume and just included what they wanted and completed the course. Can I make a webpage? Sure. Can I manage facebook.com? No way. But, I could make my own facebook from the ground up and learn to manage it as I go, I think.

272 points
55c7ef0b9113cb1cc40005fa_23090541
Submitted by
lol2dubs
almost 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
over 1 year ago