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

0 points
Submitted by bradley mahurin
almost 9 years

what am i doing wrong

<html>
    <head>
        <link rel="stylesheet" href="style.css" />
    </head>
    
    <body>
        <!-- Right below is an image of the sun -->
        <img id="sun" src="http://goo.gl/PmbqZa">
        
    <img id="earth" src="http://goo.gl/41IWnf">    
    #earth {
        position: absolute;
        top: 25%;
        left: 25%;
} 
    </body>
</html>

because it keeps poping up, Oops, try again. Did you add ‘position: absolute;’ to your #earth style?

Answer 555a4eebe39efef68300069f

4 votes

Permalink

#earth { position: absolute; top: 25%; left: 25%; } this needs to go in your style.css page not index.html :)

points
Submitted by steve perry
almost 9 years

Answer 555666c0d3292f907b0000fa

0 votes

Permalink

i feel your pain it wont work for me either!

points
Submitted by yogogogo
almost 9 years