Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 HTML 表格转换为 pdf 以进行打印。但是在转换为 pdf 表格行超出页面时,我想将表格行分解到下一行。是否有任何 HTML 表格属性或 CSS 可以实现这一点?
如果长文本使您的行太宽,也许 CSSword-wrap属性可以帮助您。
word-wrap
例如:https ://css-tricks.com/almanac/properties/w/word-break/