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

CSS: An Overview Forum

View Course » View Exercise

277 points
1628f54f0c1fd55e9b4d310fe32f9d7d?s=140&d=retro
Submitted by
Z.Khavari
about 3 years ago

why my code doesn't work???

hi there,
I don't know what is wrong with this piece of code that I get Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?
please help, thanks!
h1{
font-family:Garamond,serif;
}
p{
font-family:Verdana,sans-serif;
}

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


0 votes

permalink

Your css code is fine. can i see your html code?
make sure you have a link to your stylesheet.

2727 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 3 years ago

1 Comment

1628f54f0c1fd55e9b4d310fe32f9d7d?s=140&d=retro Z.Khavari about 3 years ago

thanks!


0 votes

permalink

thank you my friends!
I've found that there was something wrong with my HTML link, soon after I posted my question. a "/" was missing in my HTML code!
Thanks anyway:)

277 points
1628f54f0c1fd55e9b4d310fe32f9d7d?s=140&d=retro
Submitted by
Z.Khavari
about 3 years ago