View Single Post
Old 05-23-2020, 04:09 PM   #18
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,034
Karma: 147977995
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 Jellby View Post
But that was only for @page. Top margin for, say, <h1> is still relative to the width of the containing block (usually <body>).
I dump @page. I've never seen an @page that was actually useful.

[code]<h1 class="chapter">Chapter One</h1>{/code]
Code:
.chapter {
  font-size: x-large;
  text-align: center;
  margin-top: 90%;
}
So if that was my code, you are saying that I would not get 90% of the height because it would be 90% of the width? That makes no sense given it's a top margin and not a left or right margin.
JSWolf is offline   Reply With Quote