View Single Post
Old 05-24-2020, 04:52 AM   #21
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,206
Karma: 317184274
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by Jellby View Post
It makes sense, because "margin: 1%" would give the same margin all around, whatever it is.
You mean so that

margin: x%

has the same effect as

margin-top: x%
margin-left: x%
margin-bottom: x%
margin right: x%

I can see that. And I suspect it makes rendering easier too.

But it still seems very odd that margin-top should be based on the width.
pdurrant is offline   Reply With Quote