Results 1 to 3 of 3

Thread: tables

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2002
    Location
    Brussels, Belgium
    Posts
    139

    tables

    In IE 5+, a <table> is never displayed before the complete table is loaded in the browser. Is there a way to avoid this? e.g. to display the first 100 rows when they are received by the browser

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Try using <tbody>:

    Code:
    <table>
      <tbody>
        <tr><td>First 100 rows</td></tr>
      </tbody>
    
      <tbody>
        <tr><td>Next 100 rows</td></tr>
      </tbody>
    </table>
    You should really use it to group related material, so try and do that if you can. You can also use <thead> for placing content at the start of the table, and <tfoot> for that the bottom. thead and tfoot both must be before tbody.

  3. #3
    Junior Member
    Join Date
    Aug 2002
    Location
    Brazil
    Posts
    29
    Another way is to divide the table. Like this:
    <table>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    </table><table>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    </table><table>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    <tr><td>..</td></tr>
    </table>

    Putting a table before other with no space or tags beetwen them makes the IE generate one big table instead a lot o little ones.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width