-
Notifications
You must be signed in to change notification settings - Fork 5.8k
PDF document has additional empty page at the end #10582
Comments
otis.gos...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
blakey@gmail.com commented:
|
allender...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
stiber...@gmail.com commented:
|
I don't know how to star an issue on github so I'm posting here to ask to bump the priority for this. It is a serious problem for us also. Oops, I found the star button above. I see the star count is up to 6,592. Surely this can be moved from medium to high priority. |
The star count is for the project, not the issue. GitHub no longer has star counts for issues. Also, if you are working with a PDF file, there are plenty of utilities for removing/ splitting/merging PDF files until this issue gets fixed. If it is an extremely high priority for you, we encourage you to contribute by tracking down the root cause or even fixing it and submitting a Pull Request to fix it in the master branch. |
Thanks, I didn't know I could strip the page with a utility. I did try to On Fri, Jun 21, 2013 at 12:49 PM, James M. Greene
|
for those of you still experiencing this issue. Try using Normalize.css code from http://necolas.github.io/normalize.css/. This issue really stems from how browsers render things around the box model. This css script makes things a little more sane and what you would expect cross browser. For me, it removed the 3rd page with very little modification needed to the rest of my css. |
try to add |
+1 |
Adding normalize.css fixed the blank page for me. It also removed a left padding, but added some sort of bottom padding |
|
Adding The fix for this was adding this code: var $html = $(document.getElementsByTagName('html')[0]);
$html.height(0); (I'm using jQuery, because we already have it on the page, there should be an easy Vanilla JS solution too) |
Mixing jQuery and default Javascript is never a good idea. As webpages only have one
And if you really want to apply it to the first element, you can do:
I feel a bit Stack Overflow right now... xD EDIT: Yay, your fix worked. Instead of Javascript I used CSS. Just added:
And it worked like a charm. |
Tips of @Llorx works for me ;) thx for this |
Also had this problem after scaling down a table, the provided fix by ebdrup worked like a charm 🥇 . Thanks a lot, i was already ripping my hair out because of that :) |
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
vladimir...@sematext.com commented:
Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #582.
🌟 4 people had starred this issue at the time of migration.
The text was updated successfully, but these errors were encountered: