CSS: An Overview 25. Size and Borders



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}


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


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