Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Adding Pages to a Website Add a New Page

When I try to create a new .html file it automatically appears in my img folder, how do I change this?

I am having trouble getting my about.html file to communicate with my main.css file. I believe the problem lies in the location of the about.html file.

When I watch the video, Nick's about.html file automatically saves itself underneath the 'How to Make a Website' folder; however, when I created my about.html (or any other .html file, for that matter) the file saves in my IMG folder. The file will only move between the CSS folder ad he IMG folder. Can anyone shed some light on this issue? thank you

Elizabeth Hammock
Elizabeth Hammock
6,674 Points

Were you able to fix this? Im having the same problem.

unfortunately, no I have not, Elizabeth. I believe now that my issue lies elsewhere with this problem, but would still like to figure this out, nonetheless. Following along with the HTML tutorial I can't seem to get the photo in the "about" section to round it's edges. It's driving me crazy!

Elizabeth Hammock
Elizabeth Hammock
6,674 Points

It stayed below the image folder but my problem was in the header apparently. So I copy pasted another one if you want to try.

<header> <a ref="index.html" id="logo"> <h1>name</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html" class="selected">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header>

Elizabeth Hammock
Elizabeth Hammock
6,674 Points

It stayed below the image folder but my problem was in the header apparently. So I copy pasted another one if you want to try.

<header> <a ref="index.html" id="logo"> <h1>name</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html" class="selected">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header>

i figured out my issue: it was my firefox browser. I tried running my site in google chrome and everything worked perfect. so strane, but at least it is fixed and it wasn't anything I had done in error.

1 Answer

Eric Vandenberg
Eric Vandenberg
9,095 Points

To move the about.html out of the css folder or the img folder just click about.html and drag it over to the index.html file. It won't create a new folder or combine it with index.html. But it should take about.html out of any folder.

If you are still having problems with the css in the about.html file then post your code from the about.html file. Just whatever code within your <head></head> tag