33.4.8 Adjusting borders, cell spacing, and cell padding

Unless you change their values in a configuration file, the automatically generated default values for table borders, cell spacing, and cell padding are as follows:

<table border="3" cellpadding="6" cellspacing="2">

These values are specified in pixels.

In this section:

§33.4.8.1 Specifying default border, cellspacing, and cellpadding values

§33.4.8.2 Taming border, cellspacing, and cellpadding settings

§33.4.8.3 Excluding border, cellspacing, and cellpadding attributes

Previous Topic:  33.4.7 Eliminating automatically generated attributes

Next Topic:  33.4.8.1 Specifying default border, cellspacing, and cellpadding values

Parent Topic:  33.4 Specifying table attributes

Sibling Topics:

33.4.1 Specifying attributes for all tables

33.4.2 Overriding attributes for selected tables

33.4.3 Assigning a CSS class to a table

33.4.4 Using PI markers to assign attributes to tables, rows, or cells

33.4.5 Specifying attributes for table rows

33.4.6 Specifying attributes for table cells

33.4.7 Eliminating automatically generated attributes

33.4.9 Determining the width of table columns

33.4.10 Deciding what to do with empty paragraphs in table cells

Table of ContentsIndex