Margins and padding can be confusing to the novice Web designer. After all, in some ways, they seem like the same thing: white space around an image or object. Padding is the space inside the border between the border and the actual image or cell contents.