From a4dbdf58d6dba13dee8f05e9184718aefa0dfc9b Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 29 Dec 2011 21:03:05 +0000 Subject: Set extra bottom padding so page-down works as expected near bottom of page --- simplyread.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplyread.js b/simplyread.js index 3a00527..a2a068d 100755 --- a/simplyread.js +++ b/simplyread.js @@ -69,7 +69,7 @@ function simplyread(nostyle, nolinks) "p+p{text-indent:2em;} body{background:#cccccc none}" + "img{display:block; max-width: 32em; padding:1em; margin: auto}" + "h1{text-align:center;text-transform:uppercase}" + - "div#sr{width:34em; padding:8em; padding-top:2em;" + + "div#sr{width:34em; padding:2em 8em 50% 8em;" + " background-color:white; margin:auto; line-height:1.4;" + " text-align:justify; font-family:serif; hyphens:auto;}"; /* text-rendering:optimizeLegibility; - someday this will work, -- cgit v1.2.3