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 CSS Layout Basics Positioning Page Content How Z-index Works

Henning Holm
Henning Holm
4,163 Points

Refresh jumps down

If I scroll down and refresh the page, it will jump down. Why is that and how can a make it start at the top?

Thanks :)

Marco Caruso
Marco Caruso
5,208 Points

Without seeing your code it will be hard to troubleshoot exactly what the problem is. Copy what you have and use the Markdown Cheatsheet and I'm sure someone can help you almost immediately.

2 Answers

Henning Holm
Henning Holm
4,163 Points

I just launched the workspace connected to the video - "How Z-index Works". I deleted/reset it to make sure i didnt make any relevant changes, and it still jumps down.

Marco Caruso
Marco Caruso
5,208 Points

Hmm, that sounds like a bug. If you reset it from the beginning of the lesson I couldn't imagine the default CSS to be doing that.