View Single Post
Old 07-07-2015, 07:30 AM   #3
Pablo
Guru
Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.
 
Pablo's Avatar
 
Posts: 973
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-T2, Kindle Paperwhite 11th gen
Quote:
Originally Posted by Turtle91 View Post
I'm not sure why you would need to use SVG though. I would simply insert the image using a div if you didn't want to take up the whole screen.
I don't know what I was thinking! After I saw your piece of code, I remembered using something similar some years ago in another book. I had a look inside and found this code:

Code:
div.im { 
	page-break-inside: avoid;
	margin: 0.2em 0 0.2em 0;
	text-indent: 0;
	text-align: center; }
div.im img { max-width:100%;}
I guess old age is catching up with me...

Pablo is offline   Reply With Quote