Forums

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

Home Forums CSS div inline-block alignment

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #146993

    Hi
    I’m unable to figure out why the first “inner” div is not vertically aligned with all the other “inner” divs.
    http://codepen.io/overdrivemachines/pen/gqxaI

    #146995
    Alen
    Participant
    #146997

    Thank you for your response however, there are 2 issues:
    1) In my code I want to know why the “inner” divs do not align
    2) In Alen’s code, the alignment is broken if one of the “in” divs contains an image and content/text after it.
    3) Using my code can you do the following:
    a) The first “inner” div should contain text
    b) The second “inner” div should contain an image and text
    c) The third “inner” div should be left blank.

    #146998
    Alen
    Participant
    #147017
    sadunaresh
    Participant

    @Alen

    Im curious to know answer to question below

    why putting content changes the allignment..?

    #147019
    sadunaresh
    Participant

    is this something related to vetical-align?

    by specifying vertical align property , alignment is not being decided by content…

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