View Single Post
Old 06-28-2016, 03:56 AM   #4
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Toxaris View Post
You should check the HTML and body tags in css. You can also use the @page selector to fix this.
Here's what I have for those...

Code:
@page {
margin-top: 5px;
margin-right: 5px;
margin-left: 5px;
}

html>body {
	font-family: English, Georgia, 'Times New Roman', Times, serif;
	font-weight: normal;
	font-size: 100%;
}

body {
	font-family: English, Georgia, 'Times New Roman', Times, serif;
	font-weight: normal;
	font-size: 100%;
	line-height: 138%;
	margin: 0 0 0 0;
}
Is it, indeed, the @page thing? I put in the 5px (for top, left and right) as per a recommendation here to do that, in order to counter any shadows from the edge of peoples' devices.

If that's what's causing that extra bit of space after a page break, wouldn't it also affect the very first page, too (i.e. the beginning of the HTML file)?
Psymon is offline   Reply With Quote