This forum is now read-only. Please use our new forums! Go to forums

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

Answer 550f6a7a51b8870dcc0047c6

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 ….

points
Submitted by chris richard
about 9 years

1 comments

JasonUr over 8 years

no it doesnt

Answer 54f7418a76b8fe8e340027b3

0 votes

Permalink

Your computer could be a reason.

points
Submitted by Kole
about 9 years

1 comments

Josh Young about 9 years

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.

Answer 54fb3c10e39efe28d1001461

0 votes

Permalink

use div {

points
Submitted by Kyle
about 9 years

1 comments

Kyle about 9 years

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

Answer 55f3d1fb9113cb91050003d3

0 votes

Permalink

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

points
Submitted by JasonUr
over 8 years