Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28608

    Hello,

    I need help placing my text inside the tables, it does not matter if I set the aligment to the top or center it always stay on base. How can I configure this to apper in the place exactly where I set it to.

    The image is placed in vertical alignment = center and the text of the next column is set to vertical alignment = top, but it keeps showing alignment with the base.

    How do I do for the alignment that I set to appear correctly?

    Thank you.

    Fabiana.

    #138094

    You can use following css code to change the vertical alignment of the table – insert it into the quick css field:

    table, tbody, tfoot, thead, tr, th, td { vertical-align: baseline; }

    All properties are listed here: http://www.w3schools.com/cssref/pr_pos_vertical-align.asp

    If you want to change the alignment of a certain table I’s suggest to wrap the td data (or the entire table shortcode) into a div with a custom class and then you can use i.e.

    .customclass table, .customclass tbody, .customclass tfoot, .customclass thead,.customclass tr, .customclass th, .customclass td { vertical-align: baseline; }

    to change the alignment of this table only.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Text inside tables’ is closed to new replies.