It is not reading the command properly in this HTML file now. But I got this result,Īs you can see, that there were more than one lectures in the First Slot of Monday, and due to that, it overlapped both the courses. I changed up the template.html file of mine and then ran the same code. The question was asked here: Horizontally merge and divide cells in an HTML Table for Timetable based on the Data in Python File However, it created the same problem that I was facing previously. I have tried to play around the height and width of my td in the HTML File, but unfortunately, nothing really seemed to work for me.Įdit: Using the code provided by onkar ruikar, I was able to achieve very good results. Moreover, it doesn't suffer from height problems either (the height of the box is in such a way that it covers the whole of the PDF Page and all the tds don't look like stretched down) We repackage and extend it for use in the browser. Built on top of pdfkit, a nice CoffeeScript library that does pdf generation under Node.js. But if you look at the other image, text is much more visible and boxes are much more bigger width wise. Generate beautiful, printable documents directly in your browser-side Javascript application. It is too small in width and that is why, the text is also very stacked up in each td. I want to keep 5 columns but my major concern is the size of the td in my HTML files. This image has 13 columns, I don't want that. This image is taken from PDF File that is being generated as result (and it is zoomed out at 55%) This is the output that I am currently getting I have a Python code that is creating HTML Tables and then turning it into a PDF file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |