1. Create a table with som random content
2. Run it is simulation
The header labels are correctly aligned in the middle. However, the text in the table cells are top-aligned.
I would prefer the text to be aligned in the middle.
3 answers
I think it happens on IE?
Actually the vertical alignment is “middle” by default, and this settings can not be changed for now. But IE will ignore the vertical alignment when your table contains any “incomplete row”. e.g. your table row height is 25 pixels, but your table height is 85 pixels, so your table contains a incomplete row with height=10 pixels.
In the simulation we don’t output the incomplete row, other browsers works well but IE will ignore the vertical alignment…
To work around this, let’s remove the incomplete row in the table 😀
“To work around this, let’s remove the incomplete row in the table :D”
Well sometimes to make the design fit, the size of the table has to adjusted, and an incomplete row might be the result. Maybe I’ll just run the simulation in another browser from now on…
This question is now closed