значения свойства:
table, td{
border
:
1px
solid
#00F
;
font-size
26px
}
#t
1
{
border-spacing
5px
4
10px
table, td{ border: 1px solid #00F; font-size: 26px; } #t1 { border-spacing: 5px; } #t4 { border-spacing: 10px 5px; }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
link
href
"css/style.css"
rel
"stylesheet"
script
type
"text/javascript"
src
"https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
></
</
body
table
id
"t1"
tr
td
>Hello World!</
>To be or not to be?</
>Привет Мир!</
>Быть или не быть?</
br
"t2"
"t3"
"t4"
/*JavaScript*/
document.getElementById("t2").style.borderSpacing="10px";
/*jQuery*/
$(document).ready(function () {
$("#t3").css({ "border-spacing": "15px" });
});