Quote:
Originally Posted by Turtle91
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...