css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

CSS BORDER-SPACING

This property specifies the distance between the borders of adjacent table cells in the “separated borders” model. The space between table cells uses the background color/image specified for the explicit or assigned TABLE element.

 

Example

table { border: medium double red; border-collapse: separate; border-spacing: 10pt 5pt }

<table style=”border: medium double red; border-collapse: separate; border-spacing: 10pt 5pt”>

 

Possible Values

Value Description
inherit Explicitly sets the value of this property to that of the parent.
[length length] Specifies an explicit border spacing. Listing one length value should assign the value to both horizontal and vertical spacing, while specifying two values should assign the first value to the horizontal spacing and the second value to the vertical spacing.

 

 

Leave a Reply

Pages

Sponsors


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 2224 access attempts in the last 7 days.