iainbrighton/PScribo

Cell word wrap issue in HTML tables

tpcarman opened this issue · 0 comments

Setting table column widths causes HTML table contents to overflow cells. When reconfiguring table to be autosized, the HTML table then overflows the RH page margin. Word wrap is not being performed on cells in HTML tables.

This also causes issues for Word tables, with auto sized tables being out of proportion.

$ResourcePoolSummary | Table -Name 'Resource Pool Summary' -ColumnWidths 11,11,13,13,13,13,13,13

HTML Table with set column widths - cell contents overflow columns
htmltable-setcolumnwidths

Word Table with set column widths - cell contents are word wrapped
wordtable-setcolumnwidths

$ResourcePoolSummary | Table -Name 'Resource Pool Summary'

HTML Table auto sized - table overflows page margin
htmltable-autosized

Word Table auto sized - columns are out of proportion
wordtable-autosized