You are here: Reference > CSS > properties > browser specific extensions > -webkit-border-horizontal-spacing
-webkit-border-horizontal-spacing property
Specifies the amount of horizontal space between cells in a table.
JavaScript page for this property: webkitBorderHorizontalSpacing. You can find other example(s) there. |
Possible values:
One of the following values:
Takes the value of this property from the computed style of the parent element. | |||||||
The space between cells in length units. For the supported length units, see the length page. |
Default: 0.
Example HTML code 1:
This example illustrates the use of the -webkit-border-horizontal-spacing property:
|
||||
<head> <style> .myTable { -webkit-border-horizontal-spacing: 20px; -webkit-border-vertical-spacing: 10px; } </style> </head> <body> <table class="myTable" border="2px"> <tbody> <tr> <td>apple</td> <td>32</td> </tr> <tr> <td>peach</td> <td>64</td> </tr> <tr> <td>cherry</td> <td>23</td> </tr> </tbody> </table> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, applet, b, bdo, big, blockQuote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, fieldSet, font, form, H1, H2, H3, H4, H5, H6, hr, html, i, iframe, img, input:button, input:checkbox, input:file, input:image, input:password, input:radio, input:range, input:reset, input:search, input:submit, input:text, ins, isIndex, kbd, label, legend, li, marquee, menu, object, ol, p, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tBody, td, textArea, tFoot, th, tHead, tt, u, ul, var, xmp
Related pages:
-moz-border-radius-bottomleft
-moz-border-radius-bottomright
-webkit-border-image
-moz-border-radius
-moz-border-radius-topleft
-moz-border-radius-topright
-webkit-border-vertical-spacing
-moz-border-radius-bottomright
-webkit-border-image
-moz-border-radius
-moz-border-radius-topleft
-moz-border-radius-topright
-webkit-border-vertical-spacing
External links:
User Contributed Comments