---
title: empty-cells
slug: Web/CSS/empty-cells
tags:
  - CSS
  - CSS Eigenschaft
  - CSS Tabellen
  - Layout
  - NeedsLiveSample
  - NeedsMobileBrowserCompatibility
  - Referenz
  - Web
translation_of: Web/CSS/empty-cells
---
<div>{{CSSRef}}</div>

<h2 id="Übersicht">Übersicht</h2>

<p>Die <code>empty-cells</code> <a href="/de/docs/Web/CSS">CSS</a> Eigenschaft legt fest, ob Hintergründe und Rahmen leerer Tabellenzellen angezeigt werden sollen.</p>

<p>{{cssinfo}}</p>

<h2 id="Syntax">Syntax</h2>

<pre class="brush:css">/* Schlüsselwortwerte */
empty-cells: show;
empty-cells: hide;

/* Globale Werte */
empty-cells: inherit;
empty-cells: initial;
empty-cells: unset;
</pre>

<h3 id="Werte">Werte</h3>

<dl>
 <dt><code>show</code></dt>
 <dd>Ist ein Schlüsselwort, das angibt, dass Ränder und Hintergründe wie in normalen Zellen dargestellt werden sollen.</dd>
 <dt><code>hide</code></dt>
 <dd>Ist ein Schlüsselwort, das angibt, dass keine Ränder oder Hintergründe dargestellt werden sollen.</dd>
</dl>

<h3 id="Formale_Syntax">Formale Syntax</h3>

<pre class="syntaxbox">{{csssyntax}}</pre>

<h2 id="Beispiele">Beispiele</h2>

<pre class="brush: css">.contentbox td {
  empty-cells: show;
}
</pre>

<h2 id="Spezifikationen">Spezifikationen</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Spezifikation</th>
   <th scope="col">Status</th>
   <th scope="col">Kommentar</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('CSS2.1', 'tables.html#empty-cells', 'empty-cells')}}</td>
   <td>{{Spec2('CSS2.1')}}</td>
   <td>Ursprüngliche Definition</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_Kompatibilität">Browser Kompatibilität</h2>

{{Compat("css.properties.empty-cells")}}