Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> HTML >> Snippet

Cell spacing


<!-- cellpadding is space within cell - between cell content and cell edge. 2 pixels default -->
<!-- cellspacing is space within cells. 1 pixel default -->
<!-- border width default is different for each browser -->

<!-- common settings -->
border=1 and cellspacing=0 narrowest possible interior/exterior borders - 2 pixels wide
border=n and cellspacing=0 narrowest possible interior with external border of n +1 pixels
border=1 and cellspacing=n equal-width exterior and interior borders - chiseled edges 1 pixel wide - border n +2 pixels wide