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 trialOmar Elfishawi
4,060 Pointswhen i .card-title { text-align: center;} I do get alignment, but text goes out of the white background box
Hope you get what i mean
1 Answer
Aaron McClannon
528 PointsCould be any number of things. For starters, do you mean the word "Background" itself or the entirety of the list below? If it's the title AND the text, you may have inadvertently applied the class to another tag. If the word background is going out of the border there could be additional spacing somewhere around the title itself pushing the words in any direction. You might want to post some of your coding snippets from the index and the css, then we can mimic it and troubleshoot from there.
Robert Leonardi
17,151 PointsRobert Leonardi
17,151 Pointscan you copy paste your html & css code here