View Single Post
Old 12-28-2023, 05:12 AM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,211
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Quoth View Post
Yes, I gathered that. But the simple reliable and works everywhere solution is to have the image as a paragraph where you want it in the sequential paragraphs. You don't know what size a page is, but you can make an image approximately fit the screen with css
height: auto;
width: 95%;
( or vice versa)
and the enclosing p tags are centred with 0 left & right but desired top and bottom margin. Easy & compatible. Things that are at the start of a new file need a padding-top as many platforms ignore margin-top for the first item in a file.

A "Full page" image and text flowing round it is a nonsense in an ebook. Though you can have float, it fails on many platforms, so we never have any "float" in any CSS. No drop caps, image or text based. Ebooks use CSS and HTML, but are not web pages or web sites.

Forget Desktop Publishing, which is what InDesign is derived from. Or Web site design.
95% looks silly as you have the extra space or a few lines of text. I've always used 100% and it works.
JSWolf is offline   Reply With Quote