allcolor / YaHP-Converter

YaHP is a Java library that allows you to convert an HTML document into a PDF document.
GNU Lesser General Public License v2.1
56 stars 23 forks source link

Overlapping text while converting html to pdf using yahp-v1.2.20c #13

Closed venkatakarthikj closed 11 years ago

venkatakarthikj commented 11 years ago

Hi....i am trying to convert html to pdf using yahp-v1.2.20c.....html file contains ,

elements and tables........while converting and
elements data overlapping with tables.....means data moving up and overlapping with tables....i am placing and
elements some times before tables and some times after tables........i tried in so many ways to solve........please help me.......thanks in advance...........

allcolor commented 11 years ago

Hi,

could you send me a sample html showing the problem (with all needed related files like css/images).

Regards, Quentin

2013/9/11 venkatakarthikj notifications@github.com

Hi....i am trying to convert html to pdf using yahp-v1.2.20c.....html file contains , elements and tables........while converting and elements data overlapping with tables.....means data moving up and overlapping with tables....i am placing and elements some times before tables and some times after tables........i tried in so many ways to solve........please help me.......thanks in advance...........

— Reply to this email directly or view it on GitHubhttps://github.com/allcolor/YaHP-Converter/issues/13 .

All those moments will be lost in time, like tears in rain.

venkatakarthikj commented 11 years ago

Hi,

This is sample html:

test1 test2
check1check2
test3 test4
test5 test6
check3check4
test7 test8
span elements are overlapping with table............
venkatakarthikj commented 11 years ago

Test3 & Test4, Test7 & Test8 are overlapping with table.....

allcolor commented 11 years ago

Hi,

I've tested with the following html:

test1 test2
check1 check2
test3 test4
test5 test6
check3 check4
test7 test8

The rendering is correct... can't see your problem. Also github is not good to transmit like you did an html file. If you feel there is a problem, please send me at

"quentin.anciaux@allcolor.org" your html file/css etc for me to test.

Regards, Quentin

2013/9/12 venkatakarthikj notifications@github.com

Test3 & Test4, Test7 & Test8 are overlapping with table.....

— Reply to this email directly or view it on GitHubhttps://github.com/allcolor/YaHP-Converter/issues/13#issuecomment-24298460 .

All those moments will be lost in time, like tears in rain.

venkatakarthikj commented 11 years ago

K....Thank u so much... i will check once again...let u know

venkatakarthikj commented 11 years ago

I solved issue by removing all span and div elements, placing data inside table.......Thanks for ur reply.....