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;
}
jenson1234:
marigin:auto;
margin is spelt incorrectly
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
1 Like
Could you paste in your HTML
Please use this format when pasting in code
```
Replace this line with your code
```
<!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>
What is the error msg?
[quote=“jenson1234, post:8, topic:30811”]
png"/>
[/quote] leave a space between ..."
and />
.png" />
Did you remember to set your link’s text-decoration to none;?
You see you have text decoration on span set you need to set it to your link a
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!
ahh thank you for that had alot of problems figuring that out!
1 Like
Np, You’re welcome
Happy Learning
Happy coding !
What inspired you to learn programming ?
Join the discussion
1 Like
the border-style doesn’t work
Please paste in your code so we can have a look
1 Like
sure and i’m doing it right now
#intro {
color:#B83C3A ;
}
.standout {
color: #F7AC5F ;
font-family:Verdana;
}
What error are you getting… Full CSS + HTML pls
1 Like
nothing because im done with HTML and CSS with the whole thing.
zainabr1
Split this topic
May 17, 2016, 7:54pm
22
2 posts were split to a new topic: 2.Drawing your button