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!
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

Drew Gillett
156 PointsVertically Centering Text
I've got some text that I'm trying to vertically align inside a div, but the vertical-align proper in CSS is just not doing it. I'm using bootstrap as my framework, in case that matters. Anyone know how to do this and it actually works?
1 Answer

Ralf Koller
4,506 PointsThis one works: http://css-tricks.com/centering-in-the-unknown/
Drew Gillett
156 PointsDrew Gillett
156 PointsWowzers, that's a heck of a workaround! I'd have thought there'd be something simpler with all the geeks working on it all these years. I guess not. Okay, well I've saved that for later. I got stuck and had to move on. If anyone else has any good ideas, I'd be glad to hear them.