[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#45546: Problem located, bad TD WIDTH parsing
From:       Joseph Manojlovich <josephm () mail ! sis ! pitt ! edu>
Date:       2002-08-13 4:27:51
[Download RAW message or body]

It looks like the HTML parser is incorrectly computing the values of
column widths in tables. Unless you specify the width manually for each
column, the table will not render properly. The following HTML code
illustrates the problem. In the first table only the left column has a
defined width, but in the second both widths are specified. Frankly,
either table should look the same.

<HTML>
<BODY>

<TABLE BORDER="1" WIDTH="100%">
<TR>
<TD WIDTH="20%">BROKEN</TD>
<TD>ALIGNMENT</TD>
</TR>
</TABLE>

<TABLE BORDER="1" WIDTH="100%">
<TR>
<TD WIDTH="20%">CORRECT</TD>
<TD WIDTH="80%">ALIGNMENT</TD>
</TABLE>

</BODY>
</HTML>


(Complete bug history is available at http://bugs.kde.org/db/45/45546.html)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic