Home › Forums › Other › Some issues about relation between width/height and margin/padding/border › Reply To: Some issues about relation between width/height and margin/padding/border
January 15, 2015 at 9:55 am
#193340
Shikkediel
Participant
It’s not related to itself but to the parent or neighbour.
The issue here is the margin a part of the element or not?
So no. In the impossible but hypothetical circumstance where the element would have no parent, margin would not apply. So it’s not an inherent part of the element. Not sure how you’d imagine margin if it were – some inset displacement on itself?