EatEmAndSmile
asked on
Single Table Or Many Tables?
I was wondering... Is it best to have many tables to compose a sctructure or just a single table with many cells? I'd like your insight on this on which is best... Any opinion is welcome.
Thank you!
Thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, good thoughts... By the way, it's easier to maintain your code if you ident it. I always let more two spaces after any command that open anything, like:
<html>
<head>
<title>Blah,blah</title>
</head>
<body>
<table>
<tr>
<td></td>
</tr>
</table>
</body>
</html>
This way is much easier to track mistakes.
Later!
<html>
<head>
<title>Blah,blah</title>
</head>
<body>
<table>
<tr>
<td></td>
</tr>
</table>
</body>
</html>
This way is much easier to track mistakes.
Later!
The reason for this is as follows..
Netscape browser does not show the table till it has read everything between <Table> and </table> tags.
so if your table is HUGE, it gives the feeling to the user that your SITE is slow since nothing is shown on the browser. However, if you were to split the results in smaller tables, each table would be shown faster.
So as you can see its just a matter of user perception than anything else.
At times when the results are too many, you might want to use <pre> </pre> to show the data rather than using many tables.
It all depends on the amount of data you are displaying and the importance speed.
Hope that helps.