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

CSS: An Overview Forum

View Course » View Exercise

340 points
B0bff75d59fe25140171a395ff2a13c0?s=140&d=retro
Submitted by
dominictheglc_5464b562631fe9f5d00028
over 2 years ago

why wont my border work in chrome

heres my code in chrome my zoom is at 100 i tried everything even in safari
img {
height:100px;
width:300px;
border:1px solid #4682b4;
}


1 vote

permalink

I had the same problem

it has to be written as
img {
height:100px;
width:300px;
border:1px solid;
color:#4682b4;
}

not sure whats up with that ....

770 points
Da6ab159f9dc5595d8b8e1312df36429?s=140&d=retro
Submitted by
chris richard
over 2 years ago

1 Comment

55f799fe9113cbc0bb000107_885250035 JasonUr almost 2 years ago

no it doesnt


0 votes

permalink

Your computer could be a reason.

106 points
54c1379c76b8fe770400207d_194608307
Submitted by
Kole
over 2 years ago

1 Comment

67ef21052414810ce2a32abe996fb241?s=140&d=retro Josh Young over 2 years ago

It happened to me as well. I think it is a glitch with the chrome book. As soon I plug in the same exact code in on a pc it works. It seems to be anything to do with a border.


0 votes

permalink

use div {

658 points
54f5fef886f552813c000058_333953782
Submitted by
Kyle
over 2 years ago

1 Comment

54f5fef886f552813c000058_333953782 Kyle over 2 years ago

if your on the same one i'm talking about.


0 votes

permalink

put the link code in your head on html or it wont read anything you put in the css file

282 points
55f799fe9113cbc0bb000107_885250035
Submitted by
JasonUr
almost 2 years ago