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
Douglas Rojas
4,104 PointsReduce the height Background at the bottom
I want to reduce the height background (line) in my footer but I can´t .
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! First, your html page is named Untitled.html. This should be changed to index.html Secondly, you have this line:
<link rel="stylesheet" href="css/main.css">
This refers to a main.css inside a folder named "css". However, there is no css folder in your file/directory structure. My recommendation is to make a new folder named "css". Note: this is case sensitive. Do not make a folder named CSS or Css or any variation Then move the css file into that folder. Save and refresh your page. Then try making your changes
Douglas Rojas
4,104 PointsDouglas Rojas
4,104 PointsI am so sorry, the thing is that I am writing my code in Sublime and I copy the code. So the code is correct :) ...Just I can´t reduce the height of the background at the footer.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherDouglas Rojas Unfortunately, I'm unable to troubleshoot that since I can't see your code on your local machine. All I can tell you is that the code on the workspace that you linked is not correct as the css file it's linked to is not in the directory specified. My opinion is that your local file/directory structure may also be incorrect which is causing the css file to not load in and thus your changes aren't being displayed.