Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTravis Ramey
1,631 Pointsnone of my css is linking to the contact page.
The contact list doesnt appear to be changed and none of the iconography is appearing on the page.
.contact-info {list-style: none;
padding: 0;
margin: 0;
font-size: 0.9em;}
.contact-info a{display:block;
min-height: 20px;
background-repeat:no-repeat;
background-size: 20px 20px;
padding: 0 0 0 30px;
margin:0 0 10px;}
.contact-info li.phone a {
background-image: url('../img/phone.png');}
.contact-info li.mail a {
background-image: url('../img/mail.png');}
.contact-info li.twitter a {
background-image: url('../img/twitter.png');}
<h3> Contact details</h3>
<ul class="contact-info">
<li class="phone"><a href="tel:555-555">555-555</a></li>
<li class="mail"><a href="mailto:travis.ramey@gmail.com">travis.ramey@gmail.com</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=travis_ramey">@travis_ramey</a></li>
</ul>
Travis Ramey
1,631 PointsNo luck.
3 Answers
Kevin VanConant
1,833 PointsIs your main.css file linked to your HTML page?
<link rel="stylesheet" href="css/main.css">
Travis Ramey
1,631 Pointsheres the code
<head>
<meta charset="utf-8">
<title>Nick Pettit | Designer</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
</head>
Kevin VanConant
1,833 PointsIf your main.css in your css folder? Was it possible it was accidentally moved outside your css folder and into your root directory inline with your index.html?
Travis Ramey
1,631 Pointsyeah main is first then the normalize css is the folder.
John Magee
Courses Plus Student 9,058 PointsJohn Magee
Courses Plus Student 9,058 PointsThis may sound stupid - but sometimes things like this are very tempermental
margin:0 0 10px;}
put a space between margin: and 0?
Actually there's a few places without a space between the property and the value