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 11:10 pm
#193396
Shikkediel
Participant
And it’s justly defined as not being a part of the element nor is it actually being displayed or clickable. Your approach would make margin superfluous altogether.
You can’t say – be 100% width, add empty space but still be 100% width anyway. Use CSS calc in your example. No JavaScript needed.