View Single Post
Old 12-13-2013, 03:51 AM   #5
Gramlin
Member
Gramlin began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Oct 2013
Device: Kindle
Can an SVG image be floated in the text?

Thanks again.

Coming back to this, I have looked at the cryptic seeming code sigil applies when adding a cover image using the menu tool.

e.g.:
<div class="sgc-1"> /* (This refers to style for alignment, padding and margin) */
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1600 1200" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="1600" width="1200" xlink:href="../Images/Example%20Cover.jpg"></image>
</svg>
</div>

Would it be possible to use something similar to float a small image at the start of a text paragraph, and have it grow a bit for larger screens?
Gramlin is offline   Reply With Quote