Hi, I'm trying to convert a html to pdf using SaxMyHtmlHandler(), and I'm having problem with the table's column.
In the pdf the first column of the table is bigger than the others, and if I set the with attribute in the html td, it doesn't pay attention to it, it leaves the first column as big as if I didn't set the width.
Please if somebody knows how to fix this I'll apreciate the help, because I have to present the software that use this next monday.
 
Here goes some code:

com.lowagie.text.Document document = new com.lowagie.text.Document(PageSize.A4, 30, 60, 30, 60);

PdfWriter.getInstance(document, new FileOutputStream(path));

SAXParser parser = SAXParserFactory.newInstance().newSAXParser();

parser.parse(pathHtml, new SAXmyHtmlHandler(document));

 

Thanks,

Natalia De Rogatis

Reply via email to