View Single Post
Old 06-11-2025, 10:12 AM   #21
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 471
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by RbnJrg View Post
It's not an issue, it's not a bug but both programs treat "%" as it should be treated; the bug is in ADE 2.x/3.x! PLEASE, READ THE FOLLOWING ARTICLE, so you are going to understand how "height" works:

https://www.joshwcomeau.com/css/height-enigma/
Holy *expletive-ing* *expletive* *expletive*... That article was EXACTLY what I needed. Talk about a lightbulb moment. No wonder the code in my first post wasn't "working". I just was fundamentally WRONG about how those properties even mean.

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...

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

EDIT: I just reread that Josh W. Comeau article again, and I feel the need to curse again in total awe. Genuinely eye-opening.

Last edited by ElMiko; 06-11-2025 at 10:20 AM.
ElMiko is offline   Reply With Quote