View Single Post
Old 06-11-2025, 11:12 AM   #22
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,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by ElMiko View Post
I'm still unclear in one of your latest example codes:
Code:
html, body {
    height: 100%;
}
Why is the "html" necessary? Actually, what does it even do?? I've never seen css styling on "html" as the parent element...
The Josh W. Comeau article explains it Read in that article where you see "Percentages all the way down". In short, to set a height in % of a children block, first you need to set also in % the parent block. But as all tags in an epub are childrens of html and body, you need first to set "height: 100%" for <html> and <body>. But in the article you'll find the explanation in depth and with examples, so there's no point in me going into detail here when you'll have everything better explained there.

Quote:
Regarding the Sigil plugin that should allow me to turn off my already addled brain, is it the "InsertImageSVG" plugin?
Yes, it is; that is

Quote:
EDIT: I just reread that Josh W. Comeau article again, and I feel the need to curse again in total awe. Genuinely eye-opening.
It's a very good article and a modern one. Reading it will teach you many things in these yours first steps with epub.
RbnJrg is online now   Reply With Quote