Sujet : Re: ebook reader - image scaling ?
De : address (at) *nospam* is.invalid (R.Wieser)
Groupes : comp.mobile.androidDate : 30. May 2024, 15:57:06
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3a0oh$1ng68$1@dont-email.me>
References : 1 2
User-Agent : Microsoft Outlook Express 6.00.2900.5512
Newyana2,
You seem to have only half the story here. You're making
your own epub file as HTML and CSS in a ZIP? I don't understand the syntax
above.
Ah, my apologies. I ment that I added an image to a page in an existing
epub (and added a CSS file and updated the "content.opf").
HTML: <IMG WIDTH=50% HEIGHT=50%> (it also works with quotes: "50%")
Or <IMG STYLE="width: 50%; height: 50%;">
Or in either a STYLE block or a CSS file: IMG {width: 50%; height: 50%;}
Thats the thing - all that stuff that works in an HTML file doesn't seem to
want to work in an EPUB. :-(
(it also works with quotes: "50%")
Make that "it *only* works with".
And you can also use an ID:
Or a class. Yes, I tried that too. I even tried to to put a "style="
attribute into the image tag itself. Nothing worked.
Regards,
Rudy Wieser