25. Size and borders


#1

I don't understand why I'm getting error....,-


Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?.


html file-
<!DOCTYPE html>
<html>
	<head>
	<link type="text/css"rel="stylesheet"href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	<h1>Don't Stop Dreaming!!!</h1>
	<p>Don't Stop Dreaming!!!</p>
	<img src="https://theimpactnews.com/wp-content/uploads/2016/11/Steps-to-Success-628x353.jpg" />
	</body>
</html>

CSS-

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

I'm having the same problem.


#3

I am having the same problem as well -- I can clearly see that my border is the correct color and type, but the system is not letting my proceed.


#4

border: 1px solid #4682b4;

Did you remember to type in your ending bracket below this last line? It should look like this:

border: 1px solid #4682b4;
}

Hope it helps!


#5

Okay I just fixed it by switching browsers (went from Firefox to Microsoft Edge).

Maybe you should try the same?


#6

I've been told to try resetting the zoom of your browser with Ctrl + 0 on PC or Cmd + 0 on Mac. Then see if the exercise passes.
If the screen is zoomed in, then the px border will look larger than it would when the screen is at the default zoom.


#7

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