Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #241102

    Hi,

    this is no technical issue, but a layout challenge for the experienced “enfolder” ;-)

    I have 2 layout elements next to each other, both 1/2.
    The first 1/2 contains a number of elements ( user-defined widget and textarea)
    The second 1/2 is supposed to contain a call-to-action button.

    Question: how can I “valign” the cta-button in the right 1/2 element to the length of content of the left 1/2 element?

    See http://www.carrington-brown.com/ for an illustration of the work.

    Thank you for your input!
    Frank

    #242079

    Hi frankwelschlehmann!

    Can you first add call to action button and then let us know so we can take a look? A screenshot showing the changes you would like to make also would help us understand it better

    Cheers!
    Yigit

    #242089

    Smart idea. I should have thought about that.

    Pls see this screenshot / sketch with CTA Button:
    https://www.evernote.com/shard/s74/sh/722cebae-d2ee-4260-835b-aa0b33ec30e3/926597714eea287a66e3dd8f4fc69903

    Tx,
    Frank

    #243187

    Hey!

    Please add the button into the right column. It’s hard to test or write css code without seeing the effects.

    Cheers!
    Peter

    #243566

    Yes, good idea: http://www.carrington-brown.com/test/

    Tx,
    Frank

    #244277

    Hi!

    Ok, I played around with the css code but I think it’s not easily possible. Especially the code wouldn’t be responsive and/or cross browser compatible. I suggest to place a “Horizontal Ruler” element before the button and then use the “whitespace” mode and a custom px value to push the button down. It probably won’t give you a perfect center alignment but it’s the only solution I can think of.

    Regards,
    Peter

    #244471

    Thank you, that works good enough.
    (Didn’t know about the whitespace separator…)

    Best regards,
    Frank

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Layout challenge: 2 x 1/2 Elements, one with valign baseline’ is closed to new replies.