• Resolved mikejpryor

    (@mikejpryor)


    Hi Ian, I’m wondering if I can adjust the vertical alignment of some text in cells in my table ? I have a four column table with three columns of text and one with a (fancybox) image in it. When there is a lot of text in a cell this affects the vertical positioning of the row and makes it too tall : the text seems to align to the bottom of the row but the image aligns to the top, meaning that the row is too tall. I would like the text to align center or top, but realise I cannot control that. So I tried a valign command in my fancybox code but it didn’t seem to have any effect. any advice would be welcomed, thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ian Sadovy

    (@iansadovy)

    Hello Mike,

    Sorry for the late reply.
    If you have an access to your website CSS styles, please try the following:

    .jsgrid-cell {
      vertical-align: top !important;
    }

    Please let me know if it works.

    Regards,
    Ian

    Thread Starter mikejpryor

    (@mikejpryor)

    Hi Ian, now worries and thanks. Yes, that works across all tables, perfect, thank you.

    But now, of course, I would like to be able to decide table-by-table which vertical alignment is best, but that’s just me getting picky – could I suggest that as a future feature ?

    Thanks again

    Plugin Author Ian Sadovy

    (@iansadovy)

    Hi Mike,

    Thanks for the feedback. Sure, I am planning to extend customizing options such as column/title colors, font size, etc. I will consider adding vertical alignment option as well.

    Regards,
    Ian

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Vertical text alignment within cells’ is closed to new replies.