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 trialMihael Hunjet
3,397 Pointsh1 not defined
h1 element not defined in css file what should be like.
h1 { text-align: center; }
2 Answers
Tom Achki
3,680 PointsYour question is not very clear. Do you have specific errors in your code? Consider sharing your code and I will try my best to answer :)
Mihael Hunjet
3,397 Pointsh1 element is not specify in css file what cause alienate my h1 to the right side of the html page. Hope this help.
Tom Achki
3,680 PointsWell, there might be <div> or any other "parent" element that is aligned on the right side of your page (Using css) and that is why h1 tag might be on the right side. It would really help if you shared your code. There might be many reasons to that problem and it's hard to tell without an example :)