| ||||||||||||||||||||||
"Stacked Tables" DemonstrationWhy bother with stacking tables? The page won't actually load any faster, but it seems like it for your visitors... because the top table and it's content will load (and display on the screen) first, then the second, then the third, etc. This is useful if you have a lot of content that you want to keep on one page, but still wanted to reduce the number of surfers who leave after twenty seconds, because they are too impatient to wait for everything to load. It's also useful if you insist on putting background music on your page, just place the code for it in the last table. Everything above it will load first and your visitor will have something to look at while the music loads. The table below looks like one table with three columns... but it's actually three stacked tables. The code for it is in the text box following.
Just for demonstration, this is the same table with a border around the left and right columns. It's done with a "style" span command in the table cell (<td>). Each table uses a slightly different span command, the code for it is in the text box following. It's still three tables stacked, but the border makes it look like it's just one table. (if you used the standard table command of border="2" it would be obvious that it was three separate tables.)
The important thing to remember when you are building a page with stacked tables is to code the table "cellspacing" element at zero. I hope that makes it all easier to visualize. |
|
|||||||||||||||||||||
|
|
||||||||||||||||||||||
Home Contact Site Map About User Agreement & Disclaimer Privacy Policy Links Directory
|
Disclaimer: By using any of the free webmaster tools on this site you agree that it is you who has sole responsibility and liability for any errors that may occur to your website or web server as a result. If you are not prepared to take sole responsibility for your actions then you must agree not to use any of the webmaster tools on this site.
|
Copyright 2004-08 © BLT-Web.com Original Design by Iron Spider, heavily modified by me.