{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2398","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2398/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2398/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2398/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2398","id":84425298,"number":2398,"title":"adding --footer-html results in incorrect 2nd page margin-top","user":{"login":"NicoJuicy","id":445937,"avatar_url":"https://avatars.githubusercontent.com/u/445937?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoJuicy","html_url":"https://github.com/NicoJuicy","followers_url":"https://api.github.com/users/NicoJuicy/followers","following_url":"https://api.github.com/users/NicoJuicy/following{/other_user}","gists_url":"https://api.github.com/users/NicoJuicy/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoJuicy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoJuicy/subscriptions","organizations_url":"https://api.github.com/users/NicoJuicy/orgs","repos_url":"https://api.github.com/users/NicoJuicy/repos","events_url":"https://api.github.com/users/NicoJuicy/events{/privacy}","received_events_url":"https://api.github.com/users/NicoJuicy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-03T08:09:08Z","updated_at":"2015-11-20T20:18:23Z","closed_at":null,"body":"I have uploaded 2 html files\r\n- content\r\n- footer\r\n\r\nThe javascript file ( i removed splitTable code) and the generated pdf to https://drive.google.com/open?id=0B_b8p-_V2xV1fjZtRGxpd240clc3ZHRkNkR3dmpwT1lId3RnUkwxNUZzOWVGOE00UTZQWEk&authuser=2\r\n\r\nThe problem is, that on the second page, the table hasn't got a margin-top... The problem only arrises when i add the footer.\r\n\r\nThis is the command to generate the pdf:\r\n\r\nwkhtmltopdf.exe 190.html --footer-html 190-footer.html 190.pdf\r\n\r\nI'm using 0.12.2.1 (updated the binary) and have been messing with \"correct displaying invoices\" for the last year or so --> never got it fully working in all circumstances.\r\n\r\nThis is a screenshot of the problem, the black color is to indicate a new page. The repeated table is obviously on top of the page.\r\n\r\n![screenshot-wkhtmltopdf](https://cloud.githubusercontent.com/assets/445937/7955429/8fdc14de-09d8-11e5-9ca7-bd88427b4c8e.png)\r\n\r\nIs there anyone who can help me fix the problem ( eg. displaying the footer without the 2nd page margin-top problem)"},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/158513777","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2398#issuecomment-158513777","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2398","id":158513777,"user":{"login":"ghprod","id":1922652,"avatar_url":"https://avatars.githubusercontent.com/u/1922652?v=3","gravatar_id":"","url":"https://api.github.com/users/ghprod","html_url":"https://github.com/ghprod","followers_url":"https://api.github.com/users/ghprod/followers","following_url":"https://api.github.com/users/ghprod/following{/other_user}","gists_url":"https://api.github.com/users/ghprod/gists{/gist_id}","starred_url":"https://api.github.com/users/ghprod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghprod/subscriptions","organizations_url":"https://api.github.com/users/ghprod/orgs","repos_url":"https://api.github.com/users/ghprod/repos","events_url":"https://api.github.com/users/ghprod/events{/privacy}","received_events_url":"https://api.github.com/users/ghprod/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T20:18:23Z","updated_at":"2015-11-20T20:18:23Z","body":"using margin top and bottom fix this issue ..\r\n\r\nThanks :+1: "}}