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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.