Changing Cell Padding, Spacing, and Alignment

Cell padding, cell spacing, and cell alignment are three ways of controlling how cell content appears on a page. You learned about these features in earlier chapters, but let’s briefly review:

  • Padding refers to the amount of space between an element’s content and its outer edge. For a table cell, padding refers to space between the cell border and the text or graphic within it.

    Changing Cell Padding, Spacing, and Alignment
  • Spacing refers to the amount of space between the outside of an element and the adjacent element. For a table cell, spacing refers to the space between the border of one cell and the border of the adjacent cell.

  • Alignment refers ...

Get HTML and XHTML Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.