25. Size and borders


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>
	<link type="text/css"rel="stylesheet"href="stylesheet.css"/>
	<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" />


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;


I'm having the same problem.


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.


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!


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

Maybe you should try the same?


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.


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