SEARCH

 

HTML Table Trick

If you have constructed your web pages by using one large table for your pages, (then shame on you - learn CSS), you can still show the search engine spiders your content first, instead of the navigation panel instead everytime.

The table trick employs a 2-by-2 table with an empty first cell, and then using a second cell with a rowspan set to 2, then you place the navigation in the second row 'under' the empty first cell.

Below maybe your standard table setup.

<table>
<tr>
<td>Navigation</td>
<td>Content</td>
</tr>
</table>

Now turn this into:

<table>
<tr>
<td></td>
<td rowspan="2" valign="top">Content</td>
</tr>
<tr>
<td valign="top">Navigation</td>
</tr>
</table>

This means your content can be viewed first by the search engines, but your navigation will still stay in the same place.

Top