We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Text alignment problem in unordered lists generating pdf form html

Hi, we are trying to generate a pdf from html code. In the html we have an unordered list where the text in each item is justified, when we generate the pdf the justification is not preserved. Below is a sample code to recreate the problem.

Thanks,
Sebastian

string st = @"









  • Reembolsos de gastos medicos y dentales por internet: Para un agil atencion usted tendra acceso publico a los formularios de reembolsos a traves del sitio web para poder descargarlos e imprimirlos desde cualquier lugar.





";

Pdf pdfAux = new Pdf();
StringReader lectorAuxiliar = new StringReader(st);
pdfAux.BindHTML(lectorAuxiliar);
pdfAux.Save("c:/test.pdf");

Hi,

The align attribute is currently not supported during html to pdf conversion.

Thanks.