Nazwa deklaracji | Kod w head | Kod w body | Efekt |
caption-side:top (top, bottom, left, right) |
Nic nie wpisujemy. |
<table border="1">
<caption style= "caption-side:top;"> Tytuł u góry</caption>
> <tr><td>ABCDE</td> <td>ABCD</td></tr> </table> |
|
caption-side:bottom (top, bottom, left, right) |
Nic nie wpisujemy. |
<table border="1">
<caption style= "caption-side:bottom;"> Tytuł na dole</caption>
> <tr><td>ABCDE</td> <td>ABCD</td></tr> </table> |
|
table-layout:auto |
table.layout-auto {table-layout:auto;} |
<table class="layout-auto" border="1">
<tr><td>ABCDE</td> <td>ABCD</td></tr> </table> |
|
table-layout:fixed |
table.layout-fixed {table-layout:fixed; width:150px; height:70px;} |
<table class="layout-fixed" border="1">
<tr><td>ABCDE</td> <td>ABCD</td></tr> </table> |
|
empty-cells:hide |
table.empty-cels-hide {empty-cells:hide;} |
<table class="empty-cels-hide border="1">
<tr><td>ABCDE</td> <td> </td></tr> </table> |
|
empty-cells:show |
table.empty-cels-show {empty-cells:show;} |
<table class="empty-cels-show border="1">
<tr><td>ABCDE</td> <td> </td></tr> </table> |
|
border-collapse: collapse |
table.border-collapse {border-collapse:collapse;} |
<table class="border-collapse" border="1">
<tr><td>ABCDE</td> <td>ABCD</td></tr> </table> |
|
border-collapse: separate |
table.border-separate {border-collapse:separate;} |
<table class="border-separate" border="1">
<tr><td>ABCDE</td> <td>ABCD</td></tr> </table> |
|
border-spacing: 6px |
table.border-spacing {border-spacing:6px;} |
<table class="border-spacing" border="1">
<tr><td>ABCDE</td> <td>ABCD</td></tr> </table> |
|