25. Size and borders


#1


This is the error message I keep getting. It looks like it has a problem with css so I just put the css code below.

"Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?"


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

p {
    font-size: 18px;
    color: #4A4943;
    font-family: Garamond, serif;
    
}

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


#2

Well, you're missing the closing semi-colon here.

I hope this helps! :wink:


#3

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

missing a semi-colon for border. If it still shows the same error, try zooming into your browser to 200%. Worked for me. I use chrome.


#4

Ok I will try that out.


#5

I put in the semi colon but it didn't work. So I changed the browser zoom to an ungodly 200% and it worked. Can anyone tell me why that is?


#6

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