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

Cos N
844 PointsCss (create a basic website)
copyright {
border-top: 8px solid #2A0400;
padding: 10px 0px;
margin: 15px 0px;
text-align: center;
} copyright is not in the center is on the right side. How can i fix that. thank you.
5 Answers

Erik Montes
3,717 PointsYou have the copyright element inside the grid_5 element. So it is being centered in respect to that parent element. You'll need to take the copyright element out of the grid_5 so that it becomes a sibling and not a child as it is now..

Erik Montes
3,717 PointsIs copyright a class? If so then it needs the dot (.) such as:
.copyright {
}

Cos N
844 PointsNo it's not a class is an id and i used #copyright. but is not working :(

Erik Montes
3,717 PointsYeah then the following should work:
#copyright {
}
Is the element a block or inline? If it's an inline element it wont work so you can give it the property:
display: block;

Cos N
844 Pointshttps://drive.google.com/file/d/0B4Sq0Ocf45PqMGpoMWtSNU5pUXM/edit?usp=sharing https://drive.google.com/file/d/0B4Sq0Ocf45PqczBfbkt0blkwOFU/edit?usp=sharing https://drive.google.com/file/d/0B4Sq0Ocf45PqdHRlVk9Na1A4VTQ/edit?usp=sharing
i posted some screen shots. feel free to check them out. I doesn't work from me.

Cos N
844 PointsYou got it, I should pay more attention. Thank you for your help. I appreciate it.