Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Design

Kent Berg
Kent Berg
5,198 Points

vertically positioning elements with bootstrap

How would I be able to vertically center elements in boot strap? If I wanted to center the h1,p,input that are in the video relative to the full height of the page how would that be possible?

2 Answers

Kevin Korte
Kevin Korte
28,135 Points

What version of bootstrap are you using?

Kent Berg
Kent Berg
5,198 Points

thanks for the replie! I'm using the latest version of boot strap!

Kevin Korte
Kevin Korte
28,135 Points

Hey, no problem. I just want to make sure when you say the latest version. Do you mean the latest version of Boostrap 3, that you find at getbootstrap.com, or are you using Bootstrap 4 alpha 4, which is the version that there are videos here on, or are you using Bootstrap 4 alpha 6 which is the latest latest?

There are significant differences between all 3 of these, and I just want to make sure we define "latest" with an actual version. Let me know, thanks!

Kent Berg
Kent Berg
5,198 Points

it's the bootstrap4, alpha4!