Skip to content

Wrapping and Ellipsis

wrap breaks each line to the width of the box. overflow: 'ellipsis' keeps the lines that fit and marks the cut, both on a line too wide and on the last line kept when there were more below it.

textAlign is a separate option from align: align places the block of text in the box, textAlign places each line within the block.