Article ID: 235087 - Last Review: October 6, 2003 - Revision: 3.0 XL2000: Text Spanning Multiple Cells Truncated When Saved as HTMLThis article was previously published under Q235087 For a Microsoft Excel 2002 version of this article, see 291212
(http://support.microsoft.com/kb/291212/EN-US/
)
.
On This PageSYMPTOMS
If you publish a worksheet as a Web page, and the worksheet contains text that spans multiple cells, the text does not appear properly when you open the Web page in your browser. For example, if you type the following text in cell A1
The quick brown fox jumps over the lazy dog.
and then publish the worksheet, the text in your browser appears truncated or is wrapped within cell A1.This does not affect how the text looks when you open the file in Microsoft Excel. CAUSE
Unlike Excel, Hypertext Markup Language (HTML) does not allow text to spill across multiple cells in a table. When you publish an HTML file that contains text that spills across multiple cells, Excel attempts to merge all of the cells in which the text spills together, so that they display correctly in the browser. However, Excel can only do this if the following conditions are true:
If you have this browser You may see this behavior
-----------------------------------------------------------------------
Microsoft Internet Explorer 5 Text is cropped
Microsoft Internet Explorer 4 Text is either cropped or wrapped
to a new line.
Netscape Navigator 4 Text may be cropped, wrapped to a
new line, or is not displayed.
Microsoft Internet Explorer 3 Text is wrapped to a new line.
Netscape Navigator 3 Text is wrapped to a new line. Row and
column heights and widths may not be
maintained.
RESOLUTION
To work around this problem, use either of the following methods.
Method 1: Merge the Cells into Which the Text Spills
Method 2: AutoFit the Column Containing the Spilled Text
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
| Article Translations
|
Back to the top
