This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
over 9 years

stuck in 25/26

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

Tried in IE as well as per prior posts , still not able to get through.

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

Answer 53f1e0f0282ae3f2a00016f4

1 vote

Permalink

This code is correct:

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

But it only works in IE 11 !!!

Not a very good example of creating proper webpages… Hope we will learn to build better ones, later in this course :))

points
Submitted by hancc
over 9 years

2 comments

kanhag over 9 years

I did it just fine in Google Chrome…

kanhag over 9 years

My CSS is exactly the same as yours, RaviMudgal.

Answer 53ec12b480ff3350430001d3

0 votes

Permalink

Ahhh. I read another post and their solution solved my problem also; I had my window zoomed in. When I reset it my code was accepted.

points
Submitted by stclea
over 9 years

1 comments

RAJANPRADHAN over 9 years

you are right …dude …hats off

Answer 53f024a07c82ca6fa5000634

0 votes

Permalink

this is BUG?

points
Submitted by Cyrus Pollitt
over 9 years

Answer 54050f9552f863737b0056ed

0 votes

Permalink

try doing it using another browser i was using firefox but i tried to use internet explorer and the problem was solved

points
Submitted by Omar Magdy
over 9 years

Answer 5428143452f8634ff2000b59

0 votes

Permalink

I am having the same problem. Here is my code below. I am using Chrome but tried IE too.

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

p { font-size: 18px; color: #4A4943; font-family: Garamond,serif; } img { height: 100px; width: 300px; border: 1px solid #4682b4; } HTML:

points
Submitted by Titus Jefferies
over 9 years

1 comments

kanhag over 9 years

Yeah…nice job

Answer 542814b87c82cac1c3000afc

0 votes

Permalink

It looks like my HTML didn’t come in right let me try again. It won’t work right. how do you post the HTML?

God bless, Caleb Jefferies

points
Submitted by Titus Jefferies
over 9 years

1 comments

Judy over 9 years

There are a few different ways to post HTML so the browser won’t render it as HTML. The one I like best is to put three backticks, ```, on an empty line before my code and three backticks on an empty line after my code.

Answer 542872e08c1ccce1c8001b69

0 votes

Permalink

Alright let me see if this works. Still not working. How do you do it again? I tried putting ‘’’ on the line before and after my HTML and in the post preview it was still all messed up. God bless, Caleb Jefferies

points
Submitted by Titus Jefferies
over 9 years

Answer 54287e789c4e9d6dae001ba8

0 votes

Permalink

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css"; rel"stylesheet" href= "stylesheet.css";/>
        <title>Result</title>
    </head>
    <body>
        <h1> hello world </h1>
            <p>hello world</p>
            <img src="http://thesupercarkids.com/wp-content/uploads/2014/04/Td.jpg"/>
    </body>
</html>

oh. thanks again! I was putting quotation marks. I have never used back ticks so I figured out what they were. Thanks and there is my HTML.

God bless, Caleb Jefferies

points
Submitted by Titus Jefferies
over 9 years

1 comments

Judy over 9 years
-- that line needs to be fixed up. No semicolons, watch that you have your = where they are needed, attribute="value". If you are ever getting a size error check your web browser's zoom setting. cntr-0 (PC), cmd-0 (Mac). That varies for Firefox and MS Surfaces, experiment a bit. Holler if you have trouble.

Answer 542ea0137c82ca5253001c92

0 votes

Permalink

Daal, Try using this code. The problem catcher will only find stuff that’s wrong with that lesson so it doesn’t matter if you erase everything from previous lessons.

HTML:

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>
       <img src="http://thesupercarkids.com/wp-content/uploads/2014/04/Td.jpg"/>
    </body>
</html>

CSS:

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

Hope this helps:)

God bless, Caleb Jefferies

points
Submitted by Titus Jefferies
over 9 years

Answer 53ebd407548c35b56a003592

-1 votes

Permalink

put an open { after boder not a (:)

Blockquote

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

points
Submitted by Rodney Destin
over 9 years

4 comments

stclea over 9 years

Im having the same problem as Ravi. I tried the ole copy and paste with your answer and its still giving me the “Oops, try again” jazz.

grayme over 9 years

Same here. still not working

hancc over 9 years

Same here also.

Steven Samuels over 9 years

some here still not working

Answer 53f9bbef8c1ccce9c60069d4

-1 votes

Permalink

This works: h1 { font-family: Verdana,san-serif; color: #576d94; } p{ font-family: Garamond,serif; } img{ height: 100px; width: 300px; } img{ border: 1px solid #4682b4; }

points
Submitted by scottTHEOWL
over 9 years

1 comments

daal over 9 years

Doesn’t work for me…