It is to control the spaces around the content. there is two way by which we can declare this property: 1st method 2nd method In the above example, if there is only three value. For example Then top value will be 50px Left –right value will be 2 0px And button 8 0px if there is only two value. for example Then top & bottom value will be 50px And Left –right value will be 2 0px If there is only one value. for example Then top bottom Left & right all have value 50px.
It is to control the spaces around the content.
there is two way by which we can declare this property:
1st method
2nd method
In the above example, if there is only three value. For example
Then top value will be 50px
Left –right value will be 20px
And button 80px
if there is only two value. for example
Then top & bottom value will be 50px
And Left –right value will be 20px
If there is only one value. for example
Then top bottom Left & right all have value 50px.