i t wrote:

the following error :
error = Insertion of illegal Element: 20

In this class you find the meaning of the number 20: http://itext.sourceforge.net/src/com/lowagie/text/Element.java public static final int CELL = 20

So you are trying to add a cell into an object that is not a row.
In your code however I see something that should throw another exception:

The HTML I am using is:
<html>
<head>
<title>Temp title</title>
</head>
<body>
<table width='10%' cellpadding='1.0' cellspacing='1.0' border='2.00' bordercolor='#0011ff'>

This is an end-tag.


</tr>

It should be a start tag.


        <td width='20.0%'>This is a test table.</td>
      </tr>
    </table>
  </body>
</html>





------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to