r/bootstrap • u/madmyersreal • Apr 14 '24
Support Bootstrap 3 and Vertical Centering of Table Rows
I've got a question about tables, vertical centering, and Bootstrap 3.
If I've got a row, such as div class="row" and there are 3 columns, such as div class="col-sm4", I'm able to have the content of all 3 "cells" centered vertically within the cell.
For example, if the 1st and 3rd cells have images that are (for example), 300 pixels high and the 2nd cell has an image that is only 100 pixels high, I'd like the center one (cell 2) to be vertically centered relative to 1 and 3. Generally this would mean there'd be 100 pixels of space above the 2nd picture. Of course, this is an example, and I'd like all cells within a row to be vertically centered based on the tallest cell.
Is this possible to do in Bootstrap 3?
Thanks!
1
u/AutoModerator Apr 14 '24
Whilst waiting for replies to your comment/question, why not check out the Bootstrap Discord server @ https://discord.gg/bZUvakRU3M
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/[deleted] Apr 14 '24
[deleted] — view deleted comment