Help with CSS: Overview 25. "Size and Borders."


#1

I keep getting the same response and not being allowed to move on.

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

What am I doing wrong?

Suggestions appreciated!

-jS


#2

Currently doing this as well with the same "Oops" response on the "1px solid #4682b4"


#3

I'm also stuck with this same problem.


#4

I am going to regret this. Take the following steps:
ensure your link to stylesheet is correct
ensure your browser zoom is set to 100% (ctrl + 0 (cmd + 0 for mac))
post your code (preferable html and css) so i can have a look


#5

Hi Stetim 94,

I am facing the same error and below is the code.

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

}


#6

That is part of the code, did you take the steps i recommend?

You seem to have a comma after #4682b4 this should be a semi-colon


#7

Hi Stetim94,
I seem to be having the same issue as sagarchavan10
Browser zoom is set to 100%
My code:

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


#8

Can i see the rest of your css code and preferable also your html code?


#9

Stylesheet 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;
}


#10

index.html:




	<title>Result</title>
</head>
<body>
    <h1>HTML and CSS</h1>
	    <img src="http://foto.schoolbank.nl/thumbnails/00/72/97/74/de99/4b8a/9ee6/90f342d11725/pasfoto/hanneke-boer.jpg" />

	    <p>
	    Bladibladiblaidbalaia
	    </p>
</body>


#11

i was interested in your link to stylesheet (html), which isn't visible. Anyway, your h1 seems to be missing its closing curly bracket (}) (css)


#12

Thanks, it's solved now! The closing bracket for H1 was the issue :blush:


#13

Been getting the same error, I have no idea what I am doing wrong.


#14


#15

never mind, I didn't realize that my screen was indeed zoomed in on.


#17

I've had the same problem, had it correct but would say oops even though it was

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

Once i fixed my zoom from 75% to 100% it accepted. I lol'd