What's the problem wit this code?


#1

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

/*Start adding your CSS below!*/
div{
height: 50px;
width: 120px;
border-style: 2px solid #6495ED;
background-color: #BCD2EE;
border-radius: 5px;
marigin:auto;
text-align: center;
color: #aaaaff;
font-family:cursive;
}
span{
text-decoration: none;
}


#2

margin is spelt incorrectly


#3

well there is still a problem with the text-decoration cannot find what though. and thx for the help but if you could help me wit hthat to i would be very thankfull


#4

Could you paste in your HTML


#6

Please use this format when pasting in code

```

 Replace this line with your code 

```

#8

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>About Me</title>
	</head>
	<body>
		<img src="https://s3.amazonaws.com/codecademy-blog/assets/46838757.png"/>
		<p>We're Codecademy! We're here to help you learn to code.</p><br/><br/>
		<div>
			<a href="https://facebook.com"><span>Friend us on facebook</span></a>
		</div>
	</body>
</html>

#9

What is the error msg?

leave a space between ..." and />
.png" />


#10

Did you remember to set your link's text-decoration to none;?


#11

You see you have text decoration on span set you need to set it to your link a


#12

Don't forget the instructions also say to set color and font to whatever you like

instructions for CSS:Set your link's text-decoration to none. Give it whatever color or font-family you like!


#13

ahh thank you for that had alot of problems figuring that out!:smiley:


#14

Np, You're welcome

Happy Learning :slightly_smiling:
Happy coding !
What inspired you to learn programming ?
Join the discussion


#15

the border-style doesn't work


#17

Please paste in your code so we can have a look


#18

sure and i'm doing it right now


#19

intro {

color:#B83C3A;

}
.standout {
color: #F7AC5F;
font-family:Verdana;
}


#20

What error are you getting.. Full CSS + HTML pls


#21

nothing because im done with HTML and CSS with the whole thing.


#22

2 posts were split to a new topic: 2.Drawing your button


#24