Linked Questions

-3 votes
1 answer
3k views

Is there any way to have a page break in a HTML table? I've been trying to get page breaks on the following HTML: <html> <title>testfile</title> <meta http-equiv="...
cosmarchy's user avatar
  • 686
0 votes
2 answers
393 views

I have a HTML page which is very simple, it just has a vertical table that gets data dynamically generated into it. The problem I am having is that when I want to print my page, it cuts off halfway ...
Dr Robotnik's user avatar
0 votes
0 answers
217 views

I should write a long html table and it will stay on several pages. They asked me to "manually" handle the number of rows to be printed on each page, and this number depends on the available ...
Ale MaDaMa's user avatar
0 votes
2 answers
150 views

I have a large amount of tables which I have created a script to count the tables height and I will add a class to the table if it runs off the page in order for it to do a page break. The only thing ...
waa1990's user avatar
  • 2,413
703 votes
23 answers
743k views

Is it possible to print HTML pages with custom headers and footers on each printed page? I'd like to add the word "UNCLASSIFIED" in Red, Arial, size 16pt to the top and bottom of every printed page, ...
user avatar
175 votes
7 answers
417k views

I am using a separate style-sheet for printing. Is it possible to set right and left margins in the style-sheet which set the print margin? (i.e. margin on paper)
kobra's user avatar
  • 4,973
26 votes
3 answers
105k views

I want to print a large table (so large that its rows are approx. 3 sheets of papers wide) from HTML. If possible, CSS should suffice for layout and the solution should work with different browsers. ...
Drux's user avatar
  • 12.8k
25 votes
8 answers
20k views

I am a PHP developer and in one of my projects, I need to convert some HTML documents (about 30 to 50 pages) into PDF documents. My search has turned up the following possible solutions. Among them ...
Santosh S's user avatar
  • 4,355
4 votes
7 answers
19k views

is it necessary to have <th> in any table? even if table has no heading? table has 3 other tag <thead> <tbody> <tfoot> is it necessary to use all even if i have nothing for ...
Jitendra Vyas's user avatar
14 votes
4 answers
12k views

I Have three separate section as header, body and footer to create pdf. Header part will come always at top of each page and it will be fix. ______________________ | header | |...
Drone's user avatar
  • 1,134
12 votes
4 answers
7k views

I played around with page-break-inside:auto, page-break-inside:avoid, page-break-after:auto, margin-top and margin-bottom and others for quite a long time, but still can't find a solution how to break ...
Filip CZ's user avatar
  • 179
7 votes
2 answers
17k views

Please excuse my English. I am printing a large report in pdf format including some tables (table after table). To do this, I first generated the report in html, then passed it on to pdf using dompdf ...
sebastianpe93's user avatar
8 votes
1 answer
15k views

I have seen this similar question. (I highlighted the important bits to make skim-reading the question faster) To add to it though, I would like to format an HTML table (with a lot of rows) in such ...
7wp's user avatar
  • 12.7k
5 votes
3 answers
19k views

I have a web page with a very wide report table--dozens of columns, quite a bit of horizontal scrolling. When I try to print the page with window.print(), the browser (Firefox or Chrome) just prints ...
abeger's user avatar
  • 6,864
3 votes
2 answers
5k views

I have a web application that produce its reports in HTML format. Sometimes these reports become very much and the window shows scrollbars. The problem I have is that I can just print what I see in ...
Mohammad Saberi's user avatar

15 30 50 per page