Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "R.Wieser" Newsgroups: comp.mobile.android Subject: Re: ebook reader - image scaling ? Date: Fri, 31 May 2024 10:07:55 +0200 Organization: A noiseless patient Spider Lines: 46 Message-ID: References: <80f2ce91-1fe3-73ef-9179-f64bab77f98a@invalid.nospam> Injection-Date: Fri, 31 May 2024 10:08:27 +0200 (CEST) Injection-Info: dont-email.me; posting-host="05fd6d8da6624aaad05b2d24eac3832d"; logging-data="2267778"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WgH9VL+7k42N1H9E+DnjfrR7StJCR1k96UI3PJ6HAQg==" Cancel-Lock: sha1:aPTd0GYhl1w5euDMxPAjtGAjB/g= X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-Priority: 3 X-RFC2646: Format=Flowed; Response Bytes: 2756 Newyana2, >>> (it also works with quotes: "50%") >> >> Make that "it *only* works with". >> > Officially attributes are supposed to be in quotes if non-numeric. > Some people even put numbers in quotes. It works either way. > I just tested it on IE and FF. Yes, it does work on FF. But you overlooked one thing : my question was about *epub*, not a webbrowser. Any information about how it does work on something else is currently of little, if any, value to me. > Interesting. I've never dealt with an ebook reader. > I guess it's not the same as basic HTML, even though > it claims to be. "basic HTML" ? Never heard of that. FYI, the html variant used in epub's is called XHTML (as I found yesterday). Its a bit more strict than the HTML implemented in webbrowsers. Including that *all* arguments to attributes need to be in double-quotes, regardless of if they are values or not. I found that out when I tried to make an image appear bigger using "width=100%" (no double-quotes around the "100%") causing he rest of the page to disappear. :-| As for the "its different" part ? There are two parts to that. One of them being that tried HTML in an app which expected XHTML, and the second part being that I have no idea if the epub-reader app I installed displays the ful range of allowed XHTML tags or just subset of them. For instance, I can't get a "
" to display. If you come across information which describes which XHTML tags an EPUB should display (and perhaps how) than to tell, as I could not find anything of the kind. Regards, Rudy Wieser