Quote:
Originally Posted by Liliann
Thanks Rubén but not in Kobo
neither in landscape mode...
|
Well, let's continue trying
Do the following:
Open the ePub that I uploaded in my previous post with Sigil and, in the stylesheet.css file write:
Code:
.TableCell {
display: table-cell;
}
Now, enable the Section0001.xhtml file and in the Code View, where you see:
Code:
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1153 1577" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image class="TableCell" height="1577" width="1153" xlink:href="../Images/flame.jpeg"></image>
</svg>
</div>
write:
Code:
<div class="TableCell">
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1153 1577" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image class="TableCell" height="1577" width="1153" xlink:href="../Images/flame.jpeg"></image>
</svg>
</div>
Save all and watch how does it look in Kobo. If doesn't work, then try:
Code:
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1153 1577" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image class="TableCell" height="1577" width="1153" xlink:href="../Images/flame.jpeg"></image>
</svg>
</div>
Maybe this time we are in luck