HTML/CSS/Table Attributes/rules

Материал из Web эксперт
Версия от 11:16, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"rules" controls which portions of a table"s borders are displayed

   <source lang="html4strict">
   

<HTML> <body>

<thead> </thead> <tfoot> </tfoot>
Header Header Header Header Header Header
Cell Cell Cell Cell Cell Cell
Cell Cell Cell Cell Cell Cell
Cell Cell Cell Cell Cell Cell
Cell Cell Cell Cell Cell Cell
Footer Footer Footer Footer Footer Footer


<button onclick="myTable.rules="none"">none</button> <button onclick="myTable.rules="all"">all</button> <button onclick="myTable.rules="cols"">cols</button> <button onclick="myTable.rules="groups"">groups</button> <button onclick="myTable.rules="rows"">rows</button></body> </HTML>


     </source>