значения свойства:
table, td{
border
:
1px
solid
#00F
;
font-size
24px
border-collapse
separate
}
td {
background-color
#FFFFCC
#t
1
{
empty-cells
show
table, td{ border: 1px solid #00F; font-size: 24px; border-collapse: separate; } td { background-color: #FFFFCC; } #t1 { empty-cells: show; }
<!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.emptyCells="hide";
/*jQuery*/
$(document).ready(function() {
$("#t3").css({ "empty-cells": "hide" });
});