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
Marko Delgadillo
4,524 PointsI can't align the text from the header with the text from the container
Here is my code...HELP! https://w.trhou.se/hcrvjk6b3d
In the video, the text in the header is always aligned with the text of the rest of the page by mine is sightly off and I can't seem to figure out why.
1 Answer
Leah Birch
Front End Web Development Techdegree Graduate 15,110 PointsHi, you need to select the header element and apply the text-align attribute.
Like so:
header { text-align: center; }
Dennis Witnauer
12,336 PointsDennis Witnauer
12,336 PointsHi Marko, Try moving the "wrapper" closing tag to just before the closing body tag. Hope that helps.