View Single Post
Old 09-04-2022, 10:15 AM   #23
philm
Member
philm began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jul 2022
Location: France
Device: Kobo Clara
Thank you everyone for sharing your knowledge, it's really appreciated!

Quote:
Originally Posted by JSWolf View Post
@philm, try adding the following CSS code to your eBook and see how the SVG works.
Code:
img {
  max-height: 100%;
  max-width: 100%;
}
Ok, I updated the Kobo software to the latest version.
With the first small image, I tried with the CSS file content + code in the head section
Code:
<link href="../Styles/Style0001.css" type="text/css" rel="stylesheet"/>
, and it didn't work for me. Even the Sigil preview is not showing width at 100%, I guess max-width is for "can't go beyond" and this image is quite small.
I also tried changing CSS content to simply
Code:
img {
  width: 100%;
}
without luck. Same result.
I also tried epub 2 without luck.
So far,only kepub.epub displays the svg and width 100% is not showing up.

Last edited by philm; 09-04-2022 at 10:18 AM.
philm is offline   Reply With Quote