Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Bootstrap 3 – center content in column rows

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #238172
    matthisco
    Participant

    Hello,

    I have a padded div in one of my columns, this is pushing the remaining content in the other columns. I really dont want to add padding to each col to realign, is there another way I can go about aligning the content vertically so the button is centered?

    example: Alt

    codepen sample:

    http://codepen.io/matthisco/pen/gPJzRy
    Can anyone please tell me the best way to go about this….

    #238177
    Paulie_D
    Member

    Floats don’t have vertical alignment.

    Perhaps inline-block instead?

    #238180
    matthisco
    Participant

    Thanks for the reply.

    My button is inline-block, not sure what you mean?

    #238181
    Paulie_D
    Member

    It is floated…

    .pull-right, .login-form__submit {
        float: right !important;
    }
    

    Any chance you could make a reduced demo?

    There’s a lot of stuff in there that not relevant.

    If you need to include Bootstrap use the supplied option…dont C&P the whole thing.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.