← TechnologyThe essentials of

Border-spacing: cell gaps differ from padding

Publisher: ResumeMaker • 1 source

Published: 23 Oct 2026 08:23 · Updated: 23 Oct 2026 08:23

AI source check: 22 Oct 2026 16:54. This is not editorial approval.

In a few sentences

In brief

border-spacing sets the distance between adjacent cell borders when border-collapse is separate. Two values allow different horizontal and vertical gaps.

Useful to know

border-spacing sets the distance between adjacent cell borders when border-collapse is separate. Two values allow different horizontal and vertical gaps. [1]

This is not the space between text and its border; padding controls that. If the setting has no effect, first check the border model, then identify which of the two distances you intend to change.

Sources

For further detail and to check the information:

  1. [1] MDN — CSS border-spacing ↗