summaryrefslogtreecommitdiff
path: root/simplyread.js
diff options
context:
space:
mode:
Diffstat (limited to 'simplyread.js')
-rwxr-xr-xsimplyread.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplyread.js b/simplyread.js
index e7e9e27..5eb4614 100755
--- a/simplyread.js
+++ b/simplyread.js
@@ -60,7 +60,7 @@ function simplyread()
doc.body.innerHTML =
"<style type=\"text/css\"> p{margin:0ex auto;}" +
" p+p{text-indent:2em;} body {background-color:#cccccc}" +
- " img{float:right; clear:right; padding-left:1em;}" +
+ " img{display:block; max-width: 32em; padding:1em; margin:auto;}" +
" h1,h2,h3,h4 {font-weight:normal}</style>" +
"<div style=\"width:34em; padding:8em; padding-top:2em;" +
" background-color:white; margin:auto; line-height:1.4;" +