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

General Discussion

Variance in site appearance after upload

Hey all, I've been playing around with some of the stuff I learned and I wanted to see if I could mimic a website I had seen using the fixed background attachment. It looks exactly how I'd expect it to on Chrome & Firefox when I view the files that are stored locally on my machine, but when I view the files on my host they get a bit screwy. Any ideas why this is? Thanks.

2 Answers

kyle rees
kyle rees
1,480 Points

have you checked to make sure that all your external files like your javascript css images and what not are all pointint to the right places

Yes, all I have are a couple of images located in an "img" folder, and a couple of css documents stored in the same directory as the index file.

Accessing the site from the host with any browser adds what I'm assuming is a small margin on the top and left, and accessing it in firefox causes the main navigation to be aligned left instead of center...

I was using normalize.css, and thought that might be the source of the issue, so I removed it with no change.

Here's where the site is hosted http://visitnvbc.com/sandbox and I'll warn you the page itself isn't that carefully designed. It was just a quick test I threw together to see if I could mimic the background effects on http://fiveironfrenzy.com/site/

James Barnett
James Barnett
39,199 Points

Michael Dion -

You've linked to normalize.css however the file doesn't appear to be accessible.

Make sure normalize.css is in the same directory on your server as styles.css. Also make sure normalize.css has the same permissions as styles.css.

I deleted it to see if it was causing the issues. Just restored it.