PDA

View Full Version : .NET Text Control - Saving Tables within HTML files


Unregistered
December 18, 2002, 16:58:04
.NET TXTextControl

1. Insert a table
2. Save as a HTML file
3. Open that HTML file and the rows in the table are much taller.

Appears, a <P> HTML tag is getting used within each table cell which causes a double spaced appearance. This sequence can also be reproduced in TX Text Control Words.


Is there anything that can be done to avoid this?

Thanks!


This message was originally posted by Mike in the old TX Text Control Support Forum.

Björn Meyer
December 19, 2002, 12:10:10
Hello Mike

Currently, the HTML filter exports only paragraph tags "<p>" in table cells, if the table cell contains a paragraph. Other styles can't be exported in tables. This causes the double spaced appearance of the lines.

Björn Meyer, TX Text Control


This message was originally posted by Björn Meyer in the old TX Text Control Support Forum.

Unregistered
December 19, 2002, 19:20:02
Bjorn-

Thanks.

Why does the text control automatically insert the <P> tag. I am not doing anything but inserting a new table and the paragraph tag is automatically used.. I would like it to behave like regular text and use <P STYLE="margin-top: 0pt;margin-bottom: 0pt;"> instead of <P>.

A user would expect a table to look identical before and after it is saved, not become double spaced.

Thanks for your help. Please email if the problem is not clear.


This message was originally posted by Mike in the old TX Text Control Support Forum.