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 How to Make a Website Sharing a Website Upload the Website

Erin Parent
Erin Parent
3,577 Points

Style not coming up on website

When I upload the files ( I used notepad instead of workspaces) I had them in a separate folder with my own img and css folders. When I open the html files separately they open correct. When I add them to cyberduck and open the website the pages lose their style.

Damien Watson
Damien Watson
27,419 Points

Hi Erin, sounds like the folder structure may be different. Make sure that if the webpage is pointing to "css/styles.css" that the folder "css" exists on the server with "style.css" in it. Any chance of a link to the site?

Erin Parent
Erin Parent
3,577 Points

I think the problem may be when I download normalize.css it opens in notepad, which I want it to, but it comes up in the incorrect format, all one continuous line instead of the proper spacing. I tried to go through and add proper spacing going off the normalize.css showed on the video but I'm probably still incorrect. I've tried downloading it from the treehouse downloads as well as through google search. The site is erinparent.com, and I'm still working on it

Erin Parent
Erin Parent
3,577 Points

It also may be when I put the files into cyberduck I'm just taking them directly from their own folder (them = index.html, about.html, contact.html, css folder, img folder) and dropping them into cyberduck,

1 Answer

Fernanda Salerno
Fernanda Salerno
2,733 Points

Hi Erin, maybe you are using the links like absolute paths instead relative paths.

Take a look at this link to learn more about that. Is very simple. http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm