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!
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 trial
Caitlin Megonigal
2,028 PointsRelative path is not working..again
My relative path is not working and I am not really sure what is going on.
!DOCTYPE html> <html> <head> <title>CSS Selectors</title> <link rel="stylesheet" type="text/css" href="css/style.css"> </head> <body> <h1>Learning About <span>CSS Selectors</span></h1>
Here is the CSS:
- { margin: 0; padding: 0; color: #ccddee; }
2 Answers
jase richards
10,379 PointsYeah we have to see more of your code, and describe what happens. If it is a relative path issue then you should make sure the files are located In the same directory.

Don Shipley
19,488 PointsAre you placing your path inside of the <head> </head>
of your html
<link href="folder/stylesheet.css" rel = "stylesheet" type="text/css >
or ../folder if it has to go up one folder
or just stylesheet.css if all your code is in the same folder
Kristen Law
16,244 PointsKristen Law
16,244 PointsPlease format your code so we can read it: https://teamtreehouse.com/forum/posting-code-to-the-forum