Quote:
Originally Posted by Jellby
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.