When i set the dimensions of < div > box it is perfect,but as soon as i change the padding, the dimensions get changed and becomes larger, how come?
Padding is supposed to be inside border then how is padding affecting the dimensions?
I had dimensions-
Then when I changed padding to 40p, the box gets enlarged and doesnt keep its dimensions. how come?