Re: Are tables slow in rendering?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Tables are slow to render for two reasons.

1) A table does not display until it i closed. Thats why you often see
slow loading sites, where the site is blank, and then everything
appears all at once, rather than coming in gradually. This is not an
actual slow down, but an apparent slow down to the user, because they
are used to seeing things come in gradually.

2) Browsers display nested tables very slowly (relatively). If you have
a table, inside a table, inside a table or something (particularly if
you have a table with a large number of rows, where each row contains a
child table). This is an efficiency issue within the browser. Older
versions of netscape (4.7 ish) were VERY VERY slow with this. My work
had a page that would load in 5 seconds in IE that took 2 minutes in
Netscape due to nested tables. This has gotten better as time passed,
however it still exists. currently, Firefox is slightly faster than IE
at nested table rendering.

In general, the industry has moevd away from using tables for layout,
and you should probably use CSS to lay out your page now. However, for
data that is tabular (the results of queries say) tables are the
correct choice.

Jason Coyne
www.geekswithblogs.com/gaijin42


UJ wrote:
I had somebody (who was an idiot) tell me that tables are slow in rendering?
That you shouldn't do things like tables inside of tables.

Is that true?

I think she didn't know what she was talking about but I just wanted to
confirm with people.

TIA - J.

.



Relevant Pages

  • Re: Z-Buffer problems rendering a Mesh
    ... Zbuffer do you add the corresponding flag in the Device.Clear call (else ... you'll clear only the render target, ... > I am creating a windows app to store and display .x files. ... > TO LOAD THE FILE INTO A MESH: ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: Graphics help please
    ... be able to render pixel graphics to the screen, but I don't want to render an entire image and then display it. ... At a later stage I may want to render a chunk to the buffer and then display it in one go. ... I tried adding a loop where I draw the circle in the for loop, but it only displays after it's finished. ... public void paint ...
    (comp.lang.java.programmer)
  • Unicode rendering in Tk
    ... some "exotic" characters render properly some of the time ... looking at a display right now where in one window I've got a button ... font family at the same size this character is ... Bill Poser, Linguistics, University of Pennsylvania ...
    (comp.lang.tcl)
  • Re: Device Context
    ... a device driver for device X, how do I get a .Net application to render it's ... contents to Device X .VS. the default device the Display? ... Device Context or something similar, ...
    (microsoft.public.dotnet.languages.csharp)