View Single Post
Old 02-02-2019, 12:29 PM   #32
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by RbnJrg View Post
Well, well, well. All this time you were using a css template (blitz_C1C4.css) with very important definitions that were affecting the code you wrote. When that file is not included (or not linked to the .xhtml file) then the things doesn't work. And right now, with your epub, I realize about that file. What happens if you don't include blitz_C1C4.css? The code doesn't work with epub2. So, I had to do a bit of research to find all the important code included in blitz_C1C4.css that affect the svg wrapper. I attach two new epubs, one epub2 and one epub3 with the SAME CODE. And both work fine under ADE and Sigil. It's really newfangled this way of including images inside a svg wrapper found by Momoha. If a moderator is reading this thread, I think s/he should include all this info in the Wiki of the site. Only are used percentages and for all kind of images, no matter the size of them. So, for any .jpg, .png, .gif, whatever format, the new code would be:

Regards
Rubén
Anyone can add pages and edit pages in the wiki. The wiki stuff is not copyrighted (covered under creative commons) but posts may be. It is better that you guys add it.

Dale
DaleDe is offline   Reply With Quote