471,089 Members | 1,061 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

Are tables slow in rendering?

UJ
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.
Jun 12 '06 #1
3 2057
Perhaps you should challenge this person to a race. But first, ask what they
intend to use instead of tables!
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"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.

Jun 12 '06 #2
With todays computers, you'd probably never notice -- but yes, it takes more processing power to render a table than it does a div or a span -- especially if the table cells do not use fixed widths.

In general, unless you have an extremely complicated design with your tables, I wouldn't worry about it.

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Jun 12 '06 #3
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.


Jun 13 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

44 posts views Thread by Mariusz Jedrzejewski | last post: by
81 posts views Thread by sinister | last post: by
12 posts views Thread by Neil | last post: by
59 posts views Thread by phil-news-nospam | last post: by
4 posts views Thread by toffee | last post: by
4 posts views Thread by rubyhcurry | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.