empty-cells

empty-cells

CSS empty-cells Property
The CSS empty-cells property is used to specify whether or not tables should render empty cells.
CSS CODE EXAMPLE
<!DOCTYPE html>
<style type="text/css">
#myTable {
    empty-cells: hide;
    border: #F0F 3px double;
    background: #FFDDFC;
}
#myTable td {
    border: #000 1px solid;
    background: #CCC;
}
</style>
<table id="myTable">
  <tr>
    <td>cell data</td>
    <td>cell data</td>
    <td></td>
  </tr>
  <tr>
    <td>cell data</td>
    <td></td>
    <td>cell data</td>
  </tr>
</table>
 
cell datacell data
cell datacell data

Possible Values:

show ━ hide ━ inherit

0 Response to "empty-cells"

Post a Comment