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 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
231,269 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.