25. Size and borders


#1


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-family:Garamond, serif;font-size:18px; color:#4A4943;}
img src{height:100px; width:300px;border:solid,1px,color:#4682b4;}


#2

Hi chipace73782

do this in border

border:solid 1px #4682b4

All you do is remove the comma's :slight_smile:

dont add color:#4682b4 just write #4682b4


#3

Hi
Im still getting the same error message even though I removed the commas to get this code now:
img src{height:100px;width:300px;border:solid 1px #4682b4;}


#4

Try to type your code like that:

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

}

#5

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