View Single Post
Old 12-13-2013, 06:35 PM   #28
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,528
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Liliann View Post
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
RbnJrg is offline   Reply With Quote