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 trial


Relative 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; }

Please format your code so we can read it: https://teamtreehouse.com/forum/posting-code-to-the-forum

2 Answers

jase richards
jase richards
10,379 Points

Yeah 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
Don Shipley
19,488 Points

Are 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