Can someone kindly explain how to make a particular cell wrap its contents?
If I have a line of text that extends longer than a cell in a row, the rest of it is just cut off. How can I wrap it to a new line in the same cell/row?
Thank you! It works
Table is not designed to display arbitrary amounts of text. However, a cell's text is treated as HTML so you can "format" the content as needed. For example, with a CellRenderer, you can insert HTML line breaks. Table cells, SSI, and where'd the text wrap go? - Movable Type :: All of that worksexcept that the text of my MT posts won't wrap, forcing the row of the table it sits in to stretch and stretch to the end of the longest http://forums.sixapart.com/index.php?showtopic=4569HOME | Working with Word 2000 Tables:: File Format: PDF/Adobe Acrobat - View as HTMLTable height and width. 2. Height of individual rows. 3. Width of individual columns. 4. Alignment of the table. 5. Text wrap around table http://www.utexas.edu/lbj/students/edit/Word2003/pr/working_tables1.pdfHOME |
You can make the text of a cell wrap by modifying the CSS for table. You could try something like this: Schrooten, Ben - FO:Text Alignment in a Table Cell:: Aug 15, 2002 If i put enough text in the first cell of the row so that it wraps i <fo: block>Alot of text that will wrap inside the table cell causing http://sourceware.org/ml/xsl-list/2002-08/msg00614.htmlHOME |
.my-tbl-data .my-tbl-item-cell-overflow {
white-space: normal;
overflow: visible;
}You would most likely would not want to change all tables, so you could prepend a style or id to the CSS:
.#foo .my-tbl-data .my-tbl-item-cell-overflow {
white-space: normal;
overflow: visible;
}
How much does getting a small tattoo on your hip/stomach hurt?
Do anyone else have an itchy anus? ?
|