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

CSS

Absolute Length Units issue in Workspaces

I'm having the same issue that a couple others have brought up. I've dragged my downloaded project files into Workspaces the same way I always do, but I'm just getting an "index of/" display in my browser when I try to view the project. If I change the 'absolute-units.html' file name to 'index.html' it looks a little better, but none of the CSS styles are applied and it still looks nothing like the video. I currently have the files 'absolute-length-units.css' and 'page-styles.css' in a separate folder named 'css.'

I'm kind of dead in the water until I get this figured out and I don't want to skip this lesson. Any ideas?

Thanks

3 Answers

Did you unzip the files before you dragged them in Workspaces?

I did indeed

Matt. I had the exact same problem in one of the CSS courses. I am sure it has something to do with the file path being incorrect. Did you maybe move the file to another folder, or rename the file? If not, try deleting the files, download and unzip them again.

Good idea. I'll try deleting everything and starting from scratch. Thanks for the response

So I deleted everything and redownloaded and started over from scratch. It still doesn't work. I don't get it. I've done everything exactly like I have on the previous lessons and for some reason these files aren't working. Any other ideas?

Matt, I got nuthin'. My issue with this problem was a wrong file path. If this is holding you up, I would pick someone (by highest points or number of best answers) and ask them directly.
Sorry I couldn't help. In the meantime you could ask this question on stackoverflow.com. They are pretty techie, but you may find something there. If you figure it out let me know.