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
Casey Siebels
783 PointsJustify a text next to an image?
I am trying to justify my about me text next to my photo, here is the page: http://port-80-2bbts8g40g.treehouse-app.com/about.html
Any help?
2 Answers
Erik Nuber
20,629 Pointsin your css you need to change your <p> tag. Right now you have it set to center so it is centering all of the text. Just need to change it to left.
p {
text-align: left;
}
Casey Siebels
783 PointsThank you!!
Gena Dickinson
14,420 PointsGena Dickinson
14,420 PointsHi Casey,
You need to change your text (paragraph tag) so that it is not centered. Look at line 238 of your main.css file. The text should be left aligned (which is default, so no need to add it to your css).
Also, your photo, while it looks oval, it is actually square, and had quite a bit of extra white-space on the sides. You may want to trim that down in a graphics program if possible, so the text comes closer to the photo.