If your page uses tables

Tables are a very useful way of controlling page layout including, for instance, side or top navigation bars. They also have a useful function in allowing part of a page to download quickly and be visible to the user.

Most browsers do not display the contents of a table until all elements of that table have downloaded. Therefore, if you paste the PHP insertion code lines within a single main table on your page, although it will work, nothing will display until the entire long main page has downloaded. If your page structure means that the main body of the page (into which your php insertion codes are pasted) is a single table, then the Guide will appear slow to download. If it possible to change your page design so that the insertion codes are not all within a single table, or an overall table, this is wise. Otherwise, ensure that this line of script appears in the head of the page:

<SCRIPT SRC="http://www.gospelcom.net/guide/scripts/starterpage.js" LANGUAGE="JAVASCRIPT"></SCRIPT>

The easy way round this, which makes the introduction and contents section load almost instantly, is to paste each line of insertion code in a separate table. The Web Evangelism page is divided up into five sections so you can do this easily. The following table structure will not slow loading, provided it is not also then enclosed in an overall frame.

<TABLE>
<TR>
<TD>

[Your heading and any introductory paragraph here]

<?php include("http://www.gospelcom.net/guide/yourpage/phpinsertnav.html"); ?>
</TD>
</TR>
</TABLE>

<TABLE>
<TR>
<TD>
<?php include("http://www.gospelcom.net/guide/yourpage/phpinsertintro-1.html"); ?>
</TD>
</TR>
</TABLE>

<TABLE>
<TR>
<TD>
<?php include("http://www.gospelcom.net/guide/yourpage/phpinsert2-6.html"); ?>
</TD>
</TR>
</TABLE>

<TABLE>
<TR>
<TD>
<?php include("http://www.gospelcom.net/guide/yourpage/phpinsert7-12.html"); ?>
</TD>
</TR>
</TABLE>

<TABLE>
<TR>
<TD>
<?php include("http://www.gospelcom.net/guide/yourpage/phpinsertlinks.html"); ?>
</TD>
</TR>
</TABLE>

Of course, you can include additional elements within each <TABLE> tag according to your normal page requirements. We highly recommend that you provide the page with wide margins rather than letting the text go right to the edge of the monitor - this makes text much more readable. You can do this in several ways. One is to give each of these main tables a WIDTH percentage value, for instance: <TABLE WIDTH="95%">. However, you can also do it with a simple Style Sheet line in the head of your page. You can also control the distance of text from the edge of the table using a CELLPADDING value in each TABLE tag.

| Section main page | Back to top

Gospelcom.net alliance member