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.

CSS The Solution

Harrie Roque
Harrie Roque
1,006 Points

i have a question. how the box get into the middle?

Because, i tried to recreate this on my text editor and the box is not in the middle of the browser as in, In middle. mine was in the top middle.

1 Answer

Steven Parker
Steven Parker
218,692 Points

The box in the video is also at the "top middle", except for a bit of vertical margin that pushes it down.

If you don't get that bit of margin, it could be you have something in the HTML or CSS that is overriding it. To facilitate a complete analysis, make a snapshot of your workspace and post the link to it here.