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

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