The CSS box model is how you view an HTML element.
The difference between margin and padding is that Padding will take the background color you define but margin won't.
The toal height and width is determined by CSS properties you create.
Padding 25px 50px means that the top and bottom of the content will have 25px padding and the right and left will have 50px padding.