CSS: An Overview 25. Size and Borders


#1


https://www.codecademy.com/courses/web-beginner-en-TlhFi/4/4?curriculum_id=50579fb998b470000202dc8b#


I need to ad to img src a solid border 1px with requested colour but I dont know how to do it


h1 {font-family:Verdana, Sans-serif; color:#576D94;}
p {font-size:18px; font-family:Garamond, Serif ;color:#4A4943;}
img src {height:100px; width:300px; border:1px; colour:#4682b4}


#2

src is a html attribute, it doesn't belong in css.

you should really give the border property 3 values, or use the separate property's (border-width, border-style and border-color), you might want to check documentation for this if you don't remember


#3

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