cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

object Text - in css vertical-align:middle; does not work

Former Member
0 Likes
5,239

Hi All,

in a cell with an text-object the css-format

text-align:center;  works

but

vertical-align:middle; does not work

Is there any way to bring the text vertical in the middle?

thx for hints

br harry

View Entire Topic
Former Member
0 Likes

Hello Harald,

You should try to add this css code to your cell:

display: table-cell;

vertical-align: middle;

The vertical-align property only works on html cells, and that's the aim of adding display: table-cell

Waiting for your feedback,

Best,

Nicolas

Former Member
0 Likes

Hi Nicolas,

ths for answer

I checked it but the Celle ist not in the middle of the main-cell.

You dotterd the maincell and the table-cell is left and top

you can see the css in the screenshot

Have you more idea?  thx br harry