Padding works not on element, but on its inner HTML. For example, you can use padding on the element
td
to make its inner text to stay distant from the boundaries of the cells. If you need to shift element itself, use CSS property
margin
instead.
For more detail, see the spec on the
box model:
http://www.w3.org/TR/2011/PR-CSS2-20110412/box.html[
^].
—SA