Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VBS,IIS4,IIS5
Expertise: beginner
Sep 23, 2000

Split large HTML tables in smaller ones

In general, a browser can't render an HTML table before the closing &/TABLE> tag is received. This means that the end user might wait for several seconds before a table result is displayed. The easiest way to have results appear as soon as they are available is subdivide a large HTML table into many smaller ones, which will appear in the browser as soon as the </TABLE> tag arrives.

If you implement this technique, keep in mind that you should apply the WIDTH attribute to each individual column, so that the columns in the many subtables will match. If you don't do so, the browser will format each subtable in a different way, depending on the data contained in each one. Note that Internet Explorer 5.x can rendere a table even before it receives the </TABLE> tag. Still, you can make the rendering even faster if you specify the width of each column.

Francesco Balena
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap