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

banner
Close banner
0 points
Submitted by Z.Khavari
almost 10 years

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

Answer 53c240308c1ccca539003876

0 votes

Permalink

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

points
Submitted by stetim94
almost 10 years

1 comments

Z.Khavari almost 10 years

thanks!

Answer 53c2898b631fe9e919003d27

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:)

points
Submitted by Z.Khavari
almost 10 years