Why doesn't this accept the correct code?


#1

This is what's in the css file, and it definitely creates a 1px solid bordered around my image. But the interpreter keeps saying "Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?"


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


#2

maybe a missing } somewhere? or something wrong with your <link>? can we see full html and css code?

The border-width is also sensitive to browser zoom, make sure your browser zoom is set to 100%


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.