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

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

Format of the page changes when copied

Hi, i am having a problem with the format of the page. I have copied the code and created the about page as shown, but when i display in the browser a noticeable difference in text sizes and height of the header.

I created the contact page using the same method, expecting either it to work as expected or have the same problem as the about page. However, it again is also different from both the index and about page, so i have three pages using the same copied code that do not look the same.

I assume this is a problem with the googleapi? I am recreating the lesson using sublime text 2.

Thanks

2 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

If the tutor was using normalise.css you want to make sure you include that too in your css folder, look in the head tags of your index.html file to see if it's in there.

You may also want to check it in the same browser as the tutor, Chrome.

Tom Mertz
Tom Mertz
15,254 Points

Did you create the files right next to the index.html file? That way the css will know where to look. Make sure your about.html and contact.html (or whatever they are called) are pointed at the right css file.

Also, make sure you copied everything from from the Doctype tag to the ending html tag.

Hope you get it working!