Tbody tag > Tbody tag > Har TBODY någon egentlig funktion?? OK, kanske framtiden kan visa vad för nytta man kan ha av det...Sv: TBODY?
- Only partially supported, but with the capability of decreasing the time needed to display the table and scroll parts of the table independently of the head and foot. Use tbody to define a row or group of rows as the body of the table, in a similar way to the body tag itself. The end tag </tbody> is optional. tbody must contain at least one row - <tr> </tr> tags. Other row group tags are thead and tfoot. Originally designed for Internet Explorer but now part of HTML4.Sv: TBODY?
[..]
Var kommer det citatet ifrån?
"Row groups: the THEAD, TFOOT, and TBODY elements
Table rows may be grouped into a table head, table foot, and one or more table body sections, using the THEAD, TFOOT and TBODY elements, respectively. This division enables user agents to support scrolling of table bodies independently of the table head and foot. When long tables are printed, the table head and foot information may be repeated on each page that contains table data.
The table head and table foot should contain information about the table’s columns. The table body should contain rows of table data.
When present, each THEAD, TFOOT, and TBODY contains a row group. Each row group must contain at least one row, defined by the TR element."
[..]
"TFOOT must appear before TBODY within a TABLE definition so that user agents can render the foot before receiving all of the (potentially numerous) rows of data."
Tables in HTML documents
<URL:http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3>Sv: TBODY?
Ja, definitivt. Tex så ska man kunna scrolla 'kroppen' på en tabell utan att tabellhuvudet eller tabellfoten ska påverkas.
Tyvärr känner jag inte till om någon webläsare har implementerat detta. Har de inte det så har ju TBODY ingen 'praktisk' funktion.Sv: TBODY?
Tack i alla fall för svaren!