[l2h] Tables

Joerg Broeker Joerg Broeker <broeker@pc211.ict.tuwien.ac.at>
Wed, 22 Dec 1999 16:31:33 +0100 (CET)


Hi!

Just one of these stupid questions ;-)

Is there a reason, why simple tables look that bad if converted by
latex2html ?

Example:

A table with the latex code

\begin{tabular}{|c|c|c|} \hline
Row1 & Large & Row3 \\ 
& Row2 & \\ \hline
\end{tabular}

results in the HTML code

<TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER">
<TR><TD ALIGN="CENTER">Row1</TD>
<TD ALIGN="CENTER">Large</TD>
<TD ALIGN="CENTER">Row3</TD>
</TR>
<TR><TD ALIGN="CENTER">&nbsp;</TD>
<TD ALIGN="CENTER">Row2</TD>
<TD ALIGN="CENTER">&nbsp;</TD>
</TR>
</TABLE>


But the code should rather look like

<TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER">
<TR><TD ALIGN="CENTER">Row1</TD>
<TD ALIGN="CENTER">Large<br>Row2</TD>
<TD ALIGN="CENTER">Row3</TD>
</TR>
</TABLE>

This produces a much better looking result and should be quite simple to
implement, or did I miss something?

Thanx,

Jörg

--
Joerg Broeker                 Technical University of Vienna
e9125149@student.tuwien.ac.at or broeker@ict.tuwien.ac.at
Tel.: +43/2236/29336   Fax.: +43/2236/866043   Mobile: +43/676/4632438
Welcome - Das Reisemagazin: http://stud1.tuwien.ac.at/~e9125149/