Forum Discussion
BarbBAC
Jan 10, 2022Copper Contributor
Vertical alignment in SharePoint table cells
Is there a way to set vertical alignment in SharePoint modern view table cells? Issue is that when one cell has a lot of text, it expands the row vertically. Then all of the other cells on the ro...
rgpassey
Sep 10, 2024Copper Contributor
I have a hack-fix for this. Create a table in Microsoft Word. The cells are top justified by default, (go figure) so copy a cell, NOT the content in the cell, but the cell itself. Then paste that cell into a cell in a SharePoint table. The top-justified-ness will stick. Then copy that cell to the entire table, then you can fill in the table content, and it will all be top-justified. Keep in mind, if you add rows or columns, all the new cells will need to be copied over with the modified cells before putting in new content.
cgeissler
Sep 10, 2024Copper Contributor
rgpassey Yes this can be a work-around. The downside is when you want to update the SharePoint table you might need
- to go back to Word,
- make changes to text/formatting then
- copy and paste the cell/table back into SharePoint to preserve the formatting.
- rgpasseySep 10, 2024Copper ContributorIn my tests, if I only update the content, or even replace All the content, the formatting stays the same. It's only when the table cell is newly created, or perhaps copied over with another cell w/o the formatting, does the top-justified go away. If you are copying over an entire table, then yes, that can break it, and I would do what you suggest, but with the whole table. But with all minor textual changes, it stays good, so far as I've seen. Maybe you're seeing something different?
- cgeisslerSep 10, 2024Copper ContributorI believe your explanation is more precise and correct, which adds further emphasis to the problem that Microsoft needs to solve. As an end user, I shouldn't have to remember different procedures and use-cases to specify table cell alignment which has been part of HTML since 1997 and CSS v1 since 1996. My co-workers just want to create/edit pages and not have to jump through hoops to make the page readable and clear. Maybe on the 30th anniversary of HTML 3.2 in 2027 Microsoft will have this fixed. 😉
- rgpasseySep 10, 2024Copper Contributorcouldn't agree with you more, my friend. 🙂