значения свойства:
table, td{
border
:
1px
solid
#00F
;
font-size
26px
}
#t
1
{
border-collapse
collapse
table, td{ border: 1px solid #00F; font-size: 26px; } #t1 { border-collapse: collapse; }
<!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"
/*JavaScript*/
document.getElementById("t2").style.borderCollapse="collapse";
/*jQuery*/
$(document).ready(function () {
$("#t3").css({ "border-collapse": "separate" });
});