Lesson 25: Size and borders


#1
  1. CSS an Overview
    Lesson 25: Size and Borders

Getting the apparently-common problem of it not accepting my border styling on the img selector, i.e., the following error: "Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?"

Browser zoom set to 100%; no other browser available as I'm on a Chromebook. Same issue if I run it in Incognito mode.

Help?

<!DOCTYPE html>
<html>
	<head>
		<title>Result</title>
		<link type="text/css"; rel="stylesheet"; href="stylesheet.css"/>
	</head>
	<body>
	    <h1>h1</h1>
	    <p>
	    paragraph
	    </p>
	    <img src="http://orig07.deviantart.net/6324/f/2007/052/1/d/black_dot_by_myr_enforcer.jpg"/>
	</body>
</html>

h1 {
    font-family:Verdana, sans-serif;
    color:#576D94;
}

p {
    font-size:18px;
    color:#4A4943;
    font-family:Garamond, serif;
}

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


#2

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